Text Generation
Transformers
Safetensors
PyTorch
English
perceiver_ar
mrcogito
meridian21
custom_code
concept-memory
size-140m
budget-11.5bt
long-context
base-model
research
e38
conversational
Eval Results (legacy)
Instructions to use Meridian21Lab/concept-memory-140m-11.5bt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Meridian21Lab/concept-memory-140m-11.5bt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Meridian21Lab/concept-memory-140m-11.5bt", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("Meridian21Lab/concept-memory-140m-11.5bt", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Meridian21Lab/concept-memory-140m-11.5bt with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Meridian21Lab/concept-memory-140m-11.5bt" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Meridian21Lab/concept-memory-140m-11.5bt", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Meridian21Lab/concept-memory-140m-11.5bt
- SGLang
How to use Meridian21Lab/concept-memory-140m-11.5bt 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 "Meridian21Lab/concept-memory-140m-11.5bt" \ --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": "Meridian21Lab/concept-memory-140m-11.5bt", "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 "Meridian21Lab/concept-memory-140m-11.5bt" \ --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": "Meridian21Lab/concept-memory-140m-11.5bt", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Meridian21Lab/concept-memory-140m-11.5bt with Docker Model Runner:
docker model run hf.co/Meridian21Lab/concept-memory-140m-11.5bt
Commit History
2 days ago
-
Card aligned with topic-index-140m-11.5bt (same data, other read): one section order, both models in every table and chart, cross-links, 'Models on the same data' in EVALUATION.md, its raw results under ti_ (weights unchanged)
Verified signaturef826294 -
RULER against four reference models at 4k and 8k: radar, per-task tables, heatmap
Verified signaturee632c57 -
Load with 🤗 Transformers from_pretrained (modeling code, auto_map, card How to use) (#1)
- Load with 🤗 Transformers from_pretrained (modeling code, auto_map, card How to use) (fc1da280a5cc618b660f2cbe9375f8e62ed2d5a7)23f3ccc -
Card: write ≈ instead of ~ (Hub markdown made strikethrough)
Verified signature7f939bf -
150M concept memory: weights, tokenizer, model card, evaluation page and raw results
Verified signaturee1ba4e9 -
initial commit
Verified signature50bf559