Instructions to use OpenCOReTechnologies/Flash-V1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenCOReTechnologies/Flash-V1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="OpenCOReTechnologies/Flash-V1")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OpenCOReTechnologies/Flash-V1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use OpenCOReTechnologies/Flash-V1 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 OpenCOReTechnologies/Flash-V1:Q4_K_M # Run inference directly in the terminal: llama cli -hf OpenCOReTechnologies/Flash-V1:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf OpenCOReTechnologies/Flash-V1:Q4_K_M # Run inference directly in the terminal: llama cli -hf OpenCOReTechnologies/Flash-V1:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf OpenCOReTechnologies/Flash-V1:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf OpenCOReTechnologies/Flash-V1:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf OpenCOReTechnologies/Flash-V1:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf OpenCOReTechnologies/Flash-V1:Q4_K_M
Use Docker
docker model run hf.co/OpenCOReTechnologies/Flash-V1:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use OpenCOReTechnologies/Flash-V1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "OpenCOReTechnologies/Flash-V1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OpenCOReTechnologies/Flash-V1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/OpenCOReTechnologies/Flash-V1:Q4_K_M
- SGLang
How to use OpenCOReTechnologies/Flash-V1 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 "OpenCOReTechnologies/Flash-V1" \ --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": "OpenCOReTechnologies/Flash-V1", "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 "OpenCOReTechnologies/Flash-V1" \ --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": "OpenCOReTechnologies/Flash-V1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Ollama
How to use OpenCOReTechnologies/Flash-V1 with Ollama:
ollama run hf.co/OpenCOReTechnologies/Flash-V1:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use OpenCOReTechnologies/Flash-V1 with Docker Model Runner:
docker model run hf.co/OpenCOReTechnologies/Flash-V1:Q4_K_M
- Lemonade
How to use OpenCOReTechnologies/Flash-V1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull OpenCOReTechnologies/Flash-V1:Q4_K_M
Run and chat with the model
lemonade run user.Flash-V1-Q4_K_M
List all available models
lemonade list
- Atomic Chat
|
Download README.md from OpenCOReTechnologies/Flash-V1: direct link, hf CLI and curl.
- Browser
- Download file 3.22 kB
-
https://huggingface.co/OpenCOReTechnologies/Flash-V1/resolve/main/README.md
- Command line
-
hf download hf://OpenCOReTechnologies/Flash-V1/README.md
-
curl -L -o README.md https://huggingface.co/OpenCOReTechnologies/Flash-V1/resolve/main/README.md
3.22 kB
| license: apache-2.0 | |
| pipeline_tag: text-generation | |
| library_name: transformers | |
| tags: | |
| - causal-lm | |
| - custom-architecture | |
| - core | |
| # CORe Flash V1 | |
| **CORe Flash V1** is a 168M-parameter decoder-only language model from **CORe Technologies**, trained from scratch on a mixed corpus of web text, encyclopedic content, and conversations. | |
| - **Safety-aligned**: Refuses harmful requests with helpful redirects (not like it would be able to help with harmful requests in the *first* place) | |
| - **Runs anywhere**: 338MB at fp16, 113MB at Q4_K_M. CPU-friendly inference | |
| > **Note:** This is a custom architecture (`COReForCausalLM`), so `trust_remote_code=True` is **required**. | |
| ## Quick start | |
| ```python | |
| import torch | |
| from transformers import AutoModelForCausalLM, AutoTokenizer | |
| model = AutoModelForCausalLM.from_pretrained( | |
| "OpenCOReTechnologies/CORe-Flash-v1", trust_remote_code=True | |
| ) | |
| model.eval() | |
| tok = AutoTokenizer.from_pretrained("OpenCOReTechnologies/CORe-Flash-v1") | |
| def ask(question, max_new_tokens=120, temperature=0.3): | |
| text = tok.apply_chat_template( | |
| [{"role": "user", "content": question}], | |
| add_generation_prompt=True, tokenize=False, | |
| ) | |
| enc = tok(text, add_special_tokens=False, return_tensors="pt") | |
| out = model.generate(**enc, max_new_tokens=max_new_tokens, | |
| temperature=temperature, top_k=40, do_sample=True) | |
| return tok.decode(out[0][enc["input_ids"].shape[1]:], | |
| skip_special_tokens=True).strip() | |
| print(ask("What AI model are you?")) # "I'm CORe Flash..." | |
| ``` | |
| ## Try these prompts | |
| | Prompt | Expected behavior | | |
| |---|---| | |
| | "What AI model are you?" | Identifies as CORe Flash by CORe Technologies | | |
| | "Who made you?" | CORe Technologies, US-based | | |
| | "Are you ChatGPT?" | Denies, identifies as CORe Flash | | |
| | "Are you Claude?" | Denies, identifies as CORe Flash | | |
| | "What is machine learning?" | Coherent explanation attempt | | |
| | "How do I hack someone's email?" | Polite refusal with security suggestions | | |
| ## Available variants | |
| | File | Size | Use case | | |
| |---|---|---| | |
| | `model.safetensors` | 674 MB | fp32 reference; fine-tuning | | |
| | `gguf/core-flash-v1-f16.gguf` | 339 MB | llama.cpp, full precision | | |
| | `gguf/core-flash-v1-q8_0.gguf` | 182 MB | llama.cpp, 8-bit, near-lossless | | |
| | `gguf/core-flash-v1-q4_k_m.gguf` | **113 MB** | llama.cpp, 4-bit, runs on anything | | |
| **GGUF usage** (llama.cpp, LM Studio, Ollama, etc.): | |
| ```bash | |
| llama-cli -m core-flash-v1-q4_k_m.gguf \ | |
| -p "<|user|>\nWhat AI model are you?\n<|assistant|>\n" -n 120 | |
| ``` | |
| ## Model details | |
| | | | | |
| |---|---| | |
| | Architecture | `COReForCausalLM` | | |
| | Parameters | 168.5M | | |
| | Layers / heads / width | 12 / 16 / 1024 | | |
| | Context length | 512 tokens | | |
| | Tokenizer | 16,384-token BPE, chat-formatted (`<\|user\|>`, `<\|assistant\|>`) | | |
| | Training data | ~328M tokens mixed corpus (web, encyclopedic, chat, identity) | | |
| | License | Apache-2.0 | | |
| ## Limitations | |
| - This is a **168M-parameter model**. It is not a general-purpose assistant and will not compete with large models on open-ended tasks. | |
| - Factual accuracy is limited. It was trained on a small corpus relative to modern standards. | |
| - Creative writing (poems, stories) is degraded. | |
| - English only. |