Instructions to use somosnlp-hackathon-2022/itama with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use somosnlp-hackathon-2022/itama with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="somosnlp-hackathon-2022/itama")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("somosnlp-hackathon-2022/itama") model = AutoModelForSeq2SeqLM.from_pretrained("somosnlp-hackathon-2022/itama", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| {"eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>", "extra_ids": 0, "additional_special_tokens": null, "sp_model_kwargs": {}, "special_tokens_map_file": "/home/patrick/.cache/torch/transformers/685ac0ca8568ec593a48b61b0a3c272beee9bc194a3c7241d15dcadb5f875e53.f76030f3ec1b96a8199b2593390c610e76ca8028ef3d24680000619ffb646276", "tokenizer_file": null, "name_or_path": "/gdrive/My Drive/RedditAMA/mt5-ama-base-topicos-checkpoint-1", "truncate": true, "tokenizer_class": "T5Tokenizer"} |