Instructions to use gawadx1/Krvn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gawadx1/Krvn with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="gawadx1/Krvn") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("gawadx1/Krvn", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use gawadx1/Krvn with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gawadx1/Krvn" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gawadx1/Krvn", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/gawadx1/Krvn
- SGLang
How to use gawadx1/Krvn with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "gawadx1/Krvn" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gawadx1/Krvn", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "gawadx1/Krvn" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gawadx1/Krvn", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Studio new
How to use gawadx1/Krvn 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 gawadx1/Krvn 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 gawadx1/Krvn to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for gawadx1/Krvn to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="gawadx1/Krvn", max_seq_length=2048, ) - Docker Model Runner
How to use gawadx1/Krvn with Docker Model Runner:
docker model run hf.co/gawadx1/Krvn
Krvn β Gemma-3N (4B) Fine-tuned on FineTome-100k
Developed by: gawadx1
License: Apache-2.0
Base Model: unsloth/gemma-3n-e4b-it-unsloth-bnb-4bit
π Overview
Krvn is a fine-tuned variant of the Gemma-3N (4B) language model, optimized using the Unsloth accelerated training framework and the Hugging Face TRL library.
The model is trained on the FineTome-100k dataset to improve instruction quality, reasoning depth, and conversational consistency.
With Unsloth optimizations, Krvn trains approximately 2Γ faster than traditional Transformer fine-tuning pipelines, making it accessible for developers running on consumer GPUs or cloud notebooks.
Krvn is designed as a lightweight yet capable assistant, making it ideal for real-world applications that require fast inference and low hardware requirements.
π§© Key Features
- πΉ Optimized for instruction following
- πΉ Enhanced reasoning and coherence
- πΉ 4-bit quantized, enabling efficient local inference
- πΉ Compatible with Transformers, Text Generation Inference, and LLM runners
- πΉ Fast fine-tuning using Unsloth
- πΉ Based on an aligned Gemma-3N model for safer responses
π Training Data
Dataset: mlabonne/FineTome-100k
A curated, high-quality instruction dataset containing:
- Multi-turn conversations
- Thought-through responses
- Problem-solving and reasoning tasks
- Knowledge-rich instructions
- Chain-of-thought examples
- General-purpose conversational prompts
FineTome-100k is widely used for improving:
- Assistant alignment
- Instruction clarity
- Relevance and coherence
- Reasoning performance
βοΈ Training Configuration
- Framework: Unsloth (accelerated fine-tuning)
- Libraries: TRL + Transformers
- Precision: 4-bit QLoRA / bnb quantization
- Objective: Supervised Fine-Tuning (Instruction Tuning)
- Training Speed: ~2Γ faster vs. standard HF training
- Hardware: (optionalβadd GPU details if you want)
If you'd like, I can generate a full JSON training config block.
π Intended Use
Krvn is suitable for:
- AI assistants
- Chatbots
- Reasoning and explanation tasks
- Educational tools
- Personal AI agents
- Low-resource or on-device inference
- Research in model alignment and instruction design
β Not Intended For
- High-risk decision making (medical, legal, financial, etc.)
- Real-time safety-critical systems
- Producing verified factual content without supervision
- Applications requiring guaranteed correctness
π₯ Usage Example
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "gawadx1/Krvn"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
prompt = "Explain why data augmentation helps improve model generalization."
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=200)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))