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 # 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="somosnlp-hackathon-2022/itama")# pip install -U transformers accelerate # 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
Download pytorch_model.bin from somosnlp-hackathon-2022/itama: direct link, hf CLI and curl.
- Browser
- Download file 2.33 GB
-
https://huggingface.co/somosnlp-hackathon-2022/itama/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://somosnlp-hackathon-2022/itama/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/somosnlp-hackathon-2022/itama/resolve/main/pytorch_model.bin
2.33 GB
- Xet hash:
- af298070aaffd16dee9a1f986410ff649637f7da8b1ccc874769a0c10c0da029
- Size of remote file:
- 2.33 GB
- SHA256:
- d0d5b2d07f6c353ac0e744d4bd66b3c17e548e21ecda025387880e40ff124c81
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.