mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-26 01:30:20 +01:00
Change a comment
This commit is contained in:
parent
ec68d5211e
commit
f24f87cfb0
@ -128,7 +128,7 @@ params = {
|
|||||||
class MyLogits(LogitsProcessor):
|
class MyLogits(LogitsProcessor):
|
||||||
"""
|
"""
|
||||||
Manipulates the probabilities for the next token before it gets sampled.
|
Manipulates the probabilities for the next token before it gets sampled.
|
||||||
Used in the custom_logits_processor function below.
|
Used in the logits_processor_modifier function below.
|
||||||
"""
|
"""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
pass
|
pass
|
||||||
|
@ -24,7 +24,7 @@ params = {
|
|||||||
class MyLogits(LogitsProcessor):
|
class MyLogits(LogitsProcessor):
|
||||||
"""
|
"""
|
||||||
Manipulates the probabilities for the next token before it gets sampled.
|
Manipulates the probabilities for the next token before it gets sampled.
|
||||||
Used in the custom_logits_processor function below.
|
Used in the logits_processor_modifier function below.
|
||||||
"""
|
"""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user