Spaces:
No application file
No application file
Create app/config.py
Browse files- app/config.py +8 -0
app/config.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from pydantic_settings import BaseSettings
|
| 2 |
+
|
| 3 |
+
class Settings(BaseSettings):
|
| 4 |
+
MODEL_NAME: str = "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
|
| 5 |
+
MAX_NEW_TOKENS: int = 256
|
| 6 |
+
TEMPERATURE: float = 0.7
|
| 7 |
+
|
| 8 |
+
settings = Settings()
|