Views
No views yet
app.py and requirements.txt).python train.pyexport HF_REPO_ID=your-username/multilingual-doc-assistant then python push_to_hub.pyHF_MODEL_ID = your-username/multilingual-doc-assistantapp.py and serves the Gradio chat interface.1cd multilingual-doc-assistant
2pip install -r requirements.txtpython train.py./multilingual-doc-model. You can run from any directory; paths are relative to the script.python test_model.pyprompt in test_model.py to try other languages or questions.train.jsonl (one JSON object per line with a "text" key). Use the same User: / Assistant: format so the model learns the conversational style.1pip install -r requirements.txt
2python app.pyHF_MODEL_ID to a Hub repo or a local path; for a local folder use the path to multilingual-doc-model (transformers supports local paths).