Question Answering
Transformers
Safetensors
llama
text-generation
llama-2
education
fine-tuned
custom-dataset
text-generation-inference
Instructions to use Prathamesh25/Llama-2-7b-chatbot-textbook with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Prathamesh25/Llama-2-7b-chatbot-textbook with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="Prathamesh25/Llama-2-7b-chatbot-textbook")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Prathamesh25/Llama-2-7b-chatbot-textbook") model = AutoModelForCausalLM.from_pretrained("Prathamesh25/Llama-2-7b-chatbot-textbook", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K