Instructions to use amirdnc/HeQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use amirdnc/HeQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="amirdnc/HeQ")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("amirdnc/HeQ") model = AutoModelForQuestionAnswering.from_pretrained("amirdnc/HeQ", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 15.0, | |
| "eval_samples": 1666, | |
| "exact_match": 62.69946808510638, | |
| "f1": 71.41972213728964, | |
| "test_samples": 1626, | |
| "train_loss": 0.41084846325115426, | |
| "train_runtime": 10637.12, | |
| "train_samples": 29233, | |
| "train_samples_per_second": 41.223, | |
| "train_steps_per_second": 1.289 | |
| } |