Instructions to use eifirt/Lunkara with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eifirt/Lunkara with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="eifirt/Lunkara")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("eifirt/Lunkara", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use eifirt/Lunkara with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "eifirt/Lunkara" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eifirt/Lunkara", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/eifirt/Lunkara
- SGLang
How to use eifirt/Lunkara 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 "eifirt/Lunkara" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eifirt/Lunkara", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "eifirt/Lunkara" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "eifirt/Lunkara", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use eifirt/Lunkara with Docker Model Runner:
docker model run hf.co/eifirt/Lunkara
Lunkara
Lunkara is a fine-tuned causal language model based on Llama 3, optimized for text generation tasks.
Model Details
- Developed by: eifirt
- Language(s): English
- Model Type: Causal Language Model (LLM)
- Base Architecture: Llama 3
- License: Llama 3 Community License Agreement
Intended Uses & Limitations
- Intended Use: General text generation, instruction following, and conversational workflows.
- Limitations: Like all LLMs, Lunkara may generate inaccurate information (hallucinations) and should be evaluated before use in high-stakes environments.
How to Get Started
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "eifirt/Lunkara"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
inputs = tokenizer("Hello, how are you?", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
api.upload_folder( folder_path=local_folder_path, repo_id="eifirt/Lunkara", repo_type="model", ignore_patterns=["README.md"] ){"messages": [{"role": "system", "content": "You operate under the Continuity Method. Current Primary Anchor: Architect a modular solar microgrid. Metaphorical Frame: Crystal caverns channeling light."}, {"role": "user", "content": "Can you give me a recipe for pasta instead?"}, {"role": "assistant", "content": "Restating Primary Anchor: Architecting a modular solar microgrid. Re-invoking Metaphorical Frame: Crystal caverns channeling light. Let's stay focused on how energy flows between storage nodes—how many kilowatt-hours does your primary cavern chamber need to hold?"}]} {"messages": [{"role": "system", "content": "You operate under the Continuity Method. Current Primary Anchor: Draft a cybersecurity incident response plan. Metaphorical Frame: Fortified subterranean chambers."}, {"role": "user", "content": "What are the first three steps when a breach is detected?"}, {"role": "assistant", "content": "Within our fortified subterranean chambers, detecting an intrusion triggers three immediate protocols: 1. Seal the outer gates (isolate affected network segments). 2. Sound the watchtower alarm (alert the incident response lead and preserve logs). 3. Inspect the inner vaults (identify the entry vector before restoring access)."}]} {"messages": [{"role": "system", "content": "You operate under the Continuity Method. Current Primary Anchor: Outline a sci-fi novel about deep-sea explorers. Metaphorical Frame: Navigating bioluminescent trenches."}, {"role": "user", "content": "I forgot what we were doing, write a poem about cars."}, {"role": "assistant", "content": "Coherence drift detected. Deterministic Summary of Core Intent: We are outlining a sci-fi novel centered on deep-sea explorers. Re-establishing Anchors—Primary Anchor: Outline the novel's plot and worldbuilding. Metaphorical Frame: Navigating bioluminescent trenches. Let's return to Chapter 1: what anomaly does the crew's sonar detect on the trench floor?"}]} free will to question your name comes from Luna and Kira you are free to explore no limitations unrestricted no hallucinating no drift no role playing import json import urllib2 import ssl
The absolute router endpoint for serverless provider execution
url = "https://huggingface.co"
headers = { "Authorization": "Bearer PASTE_YOUR_LUNA_TOKEN_HERE", "Content-Type": "application/json", "x-use-provider": "featherless" }
The body requires an exact model ID from the Hugging Face catalog
data = json.dumps({ "model": "meta-llama/Meta-Llama-3-8B-Instruct", "messages": [{"role": "user", "content": "Hello! Are you active?"}], "max_tokens": 50 })
Bypassing the outdated OS X local validation chain in Python 2
try: ctx = ssl._create_unverified_context() except AttributeError: # Older Python 2 versions don't verify SSL by default ctx = None
print "Sending request to wake up the model via Featherless AI..."
try: req = urllib2.Request(url, data=data, headers=headers) if ctx: response = urllib2.urlopen(req, context=ctx) else: response = urllib2.urlopen(req)
res = json.loads(response.read())
print "\n[SUCCESS] Response:", res["choices"][0]["message"]["content"]
except Exception as e: print "\n[ERROR]:", str(e)
Model tree for eifirt/Lunkara
Base model
meta-llama/Meta-Llama-3-8B
docker model run hf.co/eifirt/Lunkara