Text Generation
Transformers
Safetensors
flint
heretic
uncensored
decensored
abliterated
reproducible
conversational
Instructions to use electroglyph/flint-uncensored with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use electroglyph/flint-uncensored with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="electroglyph/flint-uncensored") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("electroglyph/flint-uncensored") model = AutoModelForCausalLM.from_pretrained("electroglyph/flint-uncensored", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use electroglyph/flint-uncensored with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "electroglyph/flint-uncensored" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "electroglyph/flint-uncensored", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/electroglyph/flint-uncensored
- SGLang
How to use electroglyph/flint-uncensored 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 "electroglyph/flint-uncensored" \ --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": "electroglyph/flint-uncensored", "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 "electroglyph/flint-uncensored" \ --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": "electroglyph/flint-uncensored", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use electroglyph/flint-uncensored with Docker Model Runner:
docker model run hf.co/electroglyph/flint-uncensored
Commit History
6 days ago
-
Run sync: periodic
Verified signaturee9c3d53 -
Run sync: periodic
Verified signature320b51c -
Run sync: periodic
Verified signaturef0f0ddf -
Run sync: periodic
Verified signature4038484 -
Run sync: periodic
Verified signature6bd07cf -
Run sync: periodic
Verified signaturec08410c -
Run sync: periodic
Verified signature439b22f -
Run sync: periodic
Verified signatureb39181d -
Run sync: periodic
Verified signatureef36bbd -
Run sync: periodic
Verified signature68244b2 -
Run sync: periodic
Verified signaturef4bb5d5 -
Run sync: periodic
Verified signature62d9f17 -
Run sync: periodic
Verified signatureac609e1 -
Run sync: periodic
Verified signaturec83c404 -
Run sync: periodic
Verified signature91255af -
Run sync: periodic
Verified signature564abf1 -
Run sync: periodic
Verified signature1779828 -
Run sync: periodic
Verified signature377b9a4 -
Run sync: periodic
Verified signature45563c7 -
Run sync: periodic
Verified signature8fcbaed -
Run sync: periodic
Verified signature7b4ce08 -
Run sync: periodic
Verified signature4c07108 -
Run sync: periodic
Verified signature37ecc8d -
Run sync: periodic
Verified signature9b0e3bd -
Run sync: periodic
Verified signaturead6a6eb -
Run sync: periodic
Verified signature8c4809f -
Run sync: periodic
Verified signature6f64461 -
Run sync: periodic
Verified signaturef2f28d5 -
Run sync: periodic
Verified signatureba56b8d -
Run sync: periodic
Verified signatureca2cd57 -
Run sync: periodic
Verified signature77c2aa4 -
Run sync: periodic
Verified signature1a965a1 -
Run sync: periodic
Verified signature8cce2d2 -
Run sync: periodic
Verified signature9887a3c -
Run sync: periodic
Verified signatured6fa22a -
Update Heretic study checkpoint
Verified signatureda72500 -
Upload reproduce/RecursiveSI--flint.jsonl with huggingface_hub
Verified signature86fca4b -
Upload reproduce/README.md with huggingface_hub
Verified signature79ae29f -
Upload reproduce/reproduce.json with huggingface_hub
Verified signature45ea557 -
Upload reproduce/SHA256SUMS with huggingface_hub
Verified signature0a22c79 -
Upload reproduce/config.toml with huggingface_hub
Verified signaturee0330a7 -
Upload README.md with huggingface_hub
Verified signaturef24171a -
Upload heretic_upload_manifest.json
Verified signature44f7f5b -
Upload model-00014-of-00016.safetensors
Verified signaturede8c18d -
Upload model-00013-of-00016.safetensors
Verified signature4a29560 -
Upload model-00012-of-00016.safetensors
Verified signature75f9f71 -
Upload model-00011-of-00016.safetensors
Verified signature1eef2f7 -
Upload model-00010-of-00016.safetensors
Verified signaturee798c09 -
Upload model-00009-of-00016.safetensors
Verified signaturef60243f -
Upload model-00008-of-00016.safetensors
Verified signature8f5d476