Instructions to use student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf:Q8_0 # Run inference directly in the terminal: llama cli -hf student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf:Q8_0 # Run inference directly in the terminal: llama cli -hf student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf:Q8_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf:Q8_0
Use Docker
docker model run hf.co/student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf:Q8_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf with Ollama:
ollama run hf.co/student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf:Q8_0
- Unsloth Desktop
- Docker Model Runner
How to use student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf with Docker Model Runner:
docker model run hf.co/student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf:Q8_0
- Lemonade
How to use student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull student-abdullah/Llama3.1_medicine_13Sep_8bit_gguf:Q8_0
Run and chat with the model
lemonade run user.Llama3.1_medicine_13Sep_8bit_gguf-Q8_0
List all available models
lemonade list
- Atomic Chat
Uploaded model
- Developed by: student-abdullah
- License: apache-2.0
- Finetuned from model: Meta/Meta-Llama-3.1-8B
Acknowledgement
Model usecase
Inflation has significantly driven up the costs of essential necessities in India, compounded by high profit margins in the pharmaceutical industry. This has made vital medications increasingly expensive, burdening individuals financially and making access to treatments more difficult. The Government of India had launched the Pradhan Mantri Bhartiya Janaushadhi Pariyojana (PMBJP) in 2008 to provide similar quality and effectiveness alternative medicines at affordable prices through Janaushadhi Kendras. As of June 30, 2024, over 20,000 Kendras offer about 2,047 drugs and 300 surgical items. Despite this, low public awareness about these alternatives and Kendra locations limits the initiative’s effectiveness.
Model Description
This model is fine-tuned from the Meta/Meta-Llama-3.1-8B 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:
- Max Tokens: 512
- LoRA Alpha: 8
- LoRA Rank (r): 128
- Gradient Accumulation Steps: 32
- Batch Size: 4
- Qunatization: 8 bits
Model Quantitative Performace
- Training Quantitative Loss: 0.262 (at final 60th epoch)
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.
- Downloads last month
- 115
8-bit
