Instructions to use student-abdullah/Llama3.2_Trial-7_32-bit_gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use student-abdullah/Llama3.2_Trial-7_32-bit_gguf with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("student-abdullah/Llama3.2_Trial-7_32-bit_gguf", dtype="auto") - llama-cpp-python
How to use student-abdullah/Llama3.2_Trial-7_32-bit_gguf with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="student-abdullah/Llama3.2_Trial-7_32-bit_gguf", filename="unsloth.F32.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use student-abdullah/Llama3.2_Trial-7_32-bit_gguf with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf student-abdullah/Llama3.2_Trial-7_32-bit_gguf:F32 # Run inference directly in the terminal: llama-cli -hf student-abdullah/Llama3.2_Trial-7_32-bit_gguf:F32
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf student-abdullah/Llama3.2_Trial-7_32-bit_gguf:F32 # Run inference directly in the terminal: llama-cli -hf student-abdullah/Llama3.2_Trial-7_32-bit_gguf:F32
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf student-abdullah/Llama3.2_Trial-7_32-bit_gguf:F32 # Run inference directly in the terminal: ./llama-cli -hf student-abdullah/Llama3.2_Trial-7_32-bit_gguf:F32
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf student-abdullah/Llama3.2_Trial-7_32-bit_gguf:F32 # Run inference directly in the terminal: ./build/bin/llama-cli -hf student-abdullah/Llama3.2_Trial-7_32-bit_gguf:F32
Use Docker
docker model run hf.co/student-abdullah/Llama3.2_Trial-7_32-bit_gguf:F32
- LM Studio
- Jan
- Ollama
How to use student-abdullah/Llama3.2_Trial-7_32-bit_gguf with Ollama:
ollama run hf.co/student-abdullah/Llama3.2_Trial-7_32-bit_gguf:F32
- Unsloth Studio
How to use student-abdullah/Llama3.2_Trial-7_32-bit_gguf with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for student-abdullah/Llama3.2_Trial-7_32-bit_gguf to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for student-abdullah/Llama3.2_Trial-7_32-bit_gguf to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for student-abdullah/Llama3.2_Trial-7_32-bit_gguf to start chatting
- Docker Model Runner
How to use student-abdullah/Llama3.2_Trial-7_32-bit_gguf with Docker Model Runner:
docker model run hf.co/student-abdullah/Llama3.2_Trial-7_32-bit_gguf:F32
- Lemonade
How to use student-abdullah/Llama3.2_Trial-7_32-bit_gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull student-abdullah/Llama3.2_Trial-7_32-bit_gguf:F32
Run and chat with the model
lemonade run user.Llama3.2_Trial-7_32-bit_gguf-F32
List all available models
lemonade list
Uploaded model
- Developed by: student-abdullah
- License: apache-2.0
- Finetuned from model: meta-llama/Llama-3.2-1B
- Created on: 7th October, 2024
Acknowledgement
Model Description
This model is fine-tuned from the meta-llama/Llama-3.2-1B base model to enhance its capabilities in generating relevant and accurate responses related to generic medications under the PMBJP scheme. The fine-tuning process included the following hyperparameters:
- Fine Tuning Template: Llama Q&A
- Max Tokens: 1024
- LoRA Alpha: 5
- LoRA Rank (r): 132
- Learning rate: 5e-5
- Gradient Accumulation Steps: 1
- Batch Size: 6
- Quantization: None
Model Quantitative Performace
- Training Quantitative Loss: 0.1403 (at final 3rd epoch 4505th Step)
Limitations
- Token Limitations: With a max token limit of 512, the model might not handle very long queries or contexts effectively.
- Training Data Limitations: The model’s performance is contingent on the quality and coverage of the fine-tuning dataset, which may affect its generalizability to different contexts or medications not covered in the dataset.
- Potential Biases: As with any model fine-tuned on specific data, there may be biases based on the dataset used for training.
Model Performace Evaluation:
- Evaluation on 1000 Questions based on dataset (to evaluate the finetuned knowledge base)
- At temperature 0.3
- Correct Responses: 83.69%
- Incorrect Responses: 16.31%
- Downloads last month
- 9
32-bit
Model tree for student-abdullah/Llama3.2_Trial-7_32-bit_gguf
Base model
meta-llama/Llama-3.2-1B