Instructions to use Softsasi/Neural-1-Verify with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Softsasi/Neural-1-Verify with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Softsasi/Neural-1-Verify") 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("Softsasi/Neural-1-Verify") model = AutoModelForCausalLM.from_pretrained("Softsasi/Neural-1-Verify", 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 Softsasi/Neural-1-Verify with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Softsasi/Neural-1-Verify" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Softsasi/Neural-1-Verify", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Softsasi/Neural-1-Verify
- SGLang
How to use Softsasi/Neural-1-Verify 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 "Softsasi/Neural-1-Verify" \ --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": "Softsasi/Neural-1-Verify", "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 "Softsasi/Neural-1-Verify" \ --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": "Softsasi/Neural-1-Verify", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use Softsasi/Neural-1-Verify with Docker Model Runner:
docker model run hf.co/Softsasi/Neural-1-Verify
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("Softsasi/Neural-1-Verify")
model = AutoModelForCausalLM.from_pretrained("Softsasi/Neural-1-Verify", 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]:]))Neural-1-Verify (1.5B Fact-Checking Model)
Neural-1-Verify (Softsasi/Neural-1-Verify, formerly factchecker-qwen) is a lightweight 1.5B-parameter fact-checking and claim-verification language model fine-tuned by Softsasi from unsloth/qwen2.5-1.5b-instruct-unsloth-bnb-4bit (Qwen2ForCausalLM, 28 layers, 1536 hidden size, 32,768 context length, merged float16 safetensors) using the FEVER (Fact Extraction and VERification) benchmark dataset.
Designed for low-latency claim verification, grounded consistency checks, and automated content moderation pipelines.
Quantized GGUF (
986 MB Q4_K_M):Softsasi/Neural-1-Verify-Q4_K_M-GGUF(ollama run hf.co/Softsasi/Neural-1-Verify-Q4_K_M-GGUF)
Training Dataset (FEVER v1.0 & v2.0Parquet):Softsasi/Neural-1-Verify-Dataset(mirrored fromfever/fever)
Interactive Workbench Space:Softsasi/Neural-1-Verify-Demo(Direct Static App)
Collection:Softsasi Enterprise AI Suite
Model Specifications
| Attribute | Value |
|---|---|
| Architecture | Qwen2ForCausalLM (28 layers, 12 attention heads, 2 KV heads) |
| Precision | Merged float16 (model.safetensors, 3.09 GB) |
| Max Context | 32,768 tokens |
| Training Corpus | FEVER v1.0 & v2.0 (SUPPORTS, REFUTES, NOT ENOUGH INFO) |
| License | Apache-2.0 (FEVER dataset upstream is CC-BY-SA-3.0) |
| Trainer | Unsloth + Hugging Face TRL |
Quick Start (transformers)
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model_id = "Softsasi/Neural-1-Verify"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id, torch_dtype=torch.float16, device_map="auto"
)
messages = [
{"role": "system", "content": "You are Neural-1-Verify. Assess whether the claim is supported, contradicted, or unverifiable based on the evidence."},
{"role": "user", "content": "Evidence: Cafe De Pasta operates daily from 11:00 AM to 11:00 PM.\nClaim: Cafe De Pasta opens at 8:00 AM."},
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=256, temperature=0.1)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
Softsasi Enterprise Model Suite
| Tier | Model Name | Size | Focus | Repositories |
|---|---|---|---|---|
| Verify | Neural-1-Verify | 1.5B | Fact-checking & claim verification (FEVER) | Model Β· GGUF Β· Dataset Β· Demo |
| Insight | Insight-1-ERP-Analytics | 4B | ERP BI, Benford forensics & Text-to-SQL | LoRA Β· GGUF Β· Demo |
| Commerce | Commerce-1-Order-AI | 8B | Autonomous restaurant & e-commerce ordering | LoRA Β· GGUF Β· Demo |
| Planner | Kanban-1-Planner | 14B | Schema-strict Kanban board generation & JSON editing | LoRA Β· Q8_0 GGUF Β· F16 GGUF Β· Demo |
- Developed by: Softsasi Β· License: Apache-2.0
Ecosystem & Related Links
- Live Production App: VerdictAI β The Misinformation Detective
- GitHub Repo: Softsasi/Neural-1-Verify Β· Unified Suite
- Ollama:
ollama run Softsasi/neural-1-verify - Kaggle: Model Β· Notebook
Connect with Softsasi
Softsasi β Bangladesh's #1 Open-Weight LLM & Enterprise AI Development Company
- Website: softsasi.com Β· Directory
- GitHub: github.com/Softsasi Β· Unified Suite
- Ollama: ollama.com/Softsasi
- Kaggle: kaggle.com/shakilanowersamrat Β· Collection
- Social: LinkedIn Β· YouTube Β· X Β· Facebook
- Downloads last month
- 417
Model tree for Softsasi/Neural-1-Verify
Datasets used to train Softsasi/Neural-1-Verify
Softsasi/Neural-1-Verify-Dataset
Space using Softsasi/Neural-1-Verify 1
Collection including Softsasi/Neural-1-Verify
Evaluation results
- Target Verdict Classes on FEVER v1.0 & v2.0validation set self-reported3.000
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Softsasi/Neural-1-Verify") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)