Instructions to use RayBoustany/Covid-Chatbot-Phi2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use RayBoustany/Covid-Chatbot-Phi2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/phi-2") model = PeftModel.from_pretrained(base_model, "RayBoustany/Covid-Chatbot-Phi2") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from RayBoustany/Covid-Chatbot-Phi2: direct link, hf CLI and curl.
- Browser
- Download file 2.11 MB
-
https://huggingface.co/RayBoustany/Covid-Chatbot-Phi2/resolve/main/tokenizer.json
- Command line
-
hf download hf://RayBoustany/Covid-Chatbot-Phi2/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/RayBoustany/Covid-Chatbot-Phi2/resolve/main/tokenizer.json
2.11 MB
File too large to display, you can check the raw version instead.