Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ tokenizer = AutoTokenizer.from_pretrained("ManishThota/Thota", trust_remote_code
|
|
| 23 |
|
| 24 |
def predict_answer(question, max_tokens):
|
| 25 |
#Set inputs
|
| 26 |
-
text = f"
|
| 27 |
|
| 28 |
input_ids = tokenizer(text, return_tensors='pt').input_ids.to('cuda')
|
| 29 |
|
|
|
|
| 23 |
|
| 24 |
def predict_answer(question, max_tokens):
|
| 25 |
#Set inputs
|
| 26 |
+
text = f" I am Manish Kumar Thota, Works on multimodal large language models and have an interest in machine learning, deep learning, and natural language processing. I can give helpful, detailed, and polite answers to the user's questions. USER:{question}:"
|
| 27 |
|
| 28 |
input_ids = tokenizer(text, return_tensors='pt').input_ids.to('cuda')
|
| 29 |
|