Update app.py
Browse files
app.py
CHANGED
|
@@ -11,13 +11,11 @@ modelos = {
|
|
| 11 |
"gpt2": LLM(model="gpt2")
|
| 12 |
}
|
| 13 |
|
| 14 |
-
Configuraci贸n de los caches
|
| 15 |
caches = {
|
| 16 |
nombre: GPTCache(modelo, max_size=1000)
|
| 17 |
for nombre, modelo in modelos.items()
|
| 18 |
}
|
| 19 |
|
| 20 |
-
Configuraci贸n de muestreo
|
| 21 |
sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
|
| 22 |
|
| 23 |
html_code_docs = """
|
|
|
|
| 11 |
"gpt2": LLM(model="gpt2")
|
| 12 |
}
|
| 13 |
|
|
|
|
| 14 |
caches = {
|
| 15 |
nombre: GPTCache(modelo, max_size=1000)
|
| 16 |
for nombre, modelo in modelos.items()
|
| 17 |
}
|
| 18 |
|
|
|
|
| 19 |
sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
|
| 20 |
|
| 21 |
html_code_docs = """
|