Instructions to use Tien-THM/QAVi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Tien-THM/QAVi with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="Tien-THM/QAVi")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Tien-THM/QAVi") model = AutoModelForQuestionAnswering.from_pretrained("Tien-THM/QAVi", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files21 unmodified lines222324252627282937 unmodified lines6768697071727 unmodified lines80818283848521 unmodified lines- **Developed by:** [Tô Hoàng Minh Tiến]- **Finetuned from model [optional]:** [xml-roberta-base]<!-- Provide the basic links for the model. -->37 unmodified lines### Training Procedure#### Training Hyperparameters* Learning rate: 2e-57 unmodified lines| #2 | 0.9563 | 1.2139 | 0.74 || #3 | 0.3920 | 1.4264 | 0.75 || #4 | 0.2175 | 1.4742 | 0.74 |I restored the check point in the 2nd epoch21 unmodified lines222324252627282937 unmodified lines67686970717273747576777 unmodified lines8586878889909121 unmodified lines- **Developed by:** Tô Hoàng Minh Tiến- **Finetuned from model :** xml-roberta-base<!-- Provide the basic links for the model. -->37 unmodified lines### Training Procedure#### Optimization:* Adam#### Loss function* Cross entropy#### Training Hyperparameters* Learning rate: 2e-57 unmodified lines| #2 | 0.9563 | 1.2139 | 0.74 || #3 | 0.3920 | 1.4264 | 0.75 || #4 | 0.2175 | 1.4742 | 0.74 |I restored the check point in the 2nd epoch
README.md+8-2