Instructions to use Varadrajan/llama-3.1-8b-alpaca-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Unsloth Studio
How to use Varadrajan/llama-3.1-8b-alpaca-finetuned 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 Varadrajan/llama-3.1-8b-alpaca-finetuned 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 Varadrajan/llama-3.1-8b-alpaca-finetuned to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Varadrajan/llama-3.1-8b-alpaca-finetuned to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="Varadrajan/llama-3.1-8b-alpaca-finetuned", max_seq_length=2048, )
metadata
license: apache-2.0
tags:
- unsloth
language:
- en
base_model:
- unsloth/Meta-Llama-3.1-8B
pipeline_tag: text-generation
datasets:
- Varadrajan/informal_formal_tweet
Uploaded adapter
- Developed by: Varadrajan
- License: apache-2.0
- Finetuned from model : unsloth/Meta-Llama-3.1-8B
This llama adapter was trained 2x faster with Unsloth and Huggingface's TRL library.
π Overview / Purpose
This adapter enables transforming informal / casual English sentences into formal / polished prose.
Itβs ideal for tone standardization, content polishing, and elevating everyday speech into refined writing.
π How to Use
You have two main options:
- On-the-fly adapter usage: Load base model + adapter during inference (keeps highest fidelity).
- Merged model inference: Merge the adapter into a model (16-bit or 4-bit) so inference needs only one model artifact (simpler deployment).
π§ͺ Merging Options & Tradeoffs
- 16-bit merge β preferred for better output quality while simplifying inference
- 4-bit merge (experimental) β smaller footprint but may degrade quality due to quantization / rounding errors
Use the method that fits your resource constraints and quality requirements.
π Intended Applications & Use Cases
- Customer support / chat interfaces, rewriting user text more professionally
- Content polishing tools, style editors
- Internal documentation, standardization of tone across teams
- Writers / non-native English users seeking more formal expression
β οΈ Limitations & Risks
- The adapter might over-formalize or introduce vocabulary changes
- In edge cases (slang, idioms, sarcasm), output may misinterpret meaning
- Merged low-bit models can degrade quality
- Always review output in sensitive or public contexts
