Text Generation
Transformers
Safetensors
PyTorch
English
perceiver_ar
mrcogito
meridian21
custom_code
catalogue
size-150m
budget-11.5bt
long-context
base-model
research
e38
conversational
Eval Results (legacy)
Instructions to use Meridian21Lab/catalogue-150m-11.5bt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Meridian21Lab/catalogue-150m-11.5bt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Meridian21Lab/catalogue-150m-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/catalogue-150m-11.5bt", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Meridian21Lab/catalogue-150m-11.5bt with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Meridian21Lab/catalogue-150m-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/catalogue-150m-11.5bt", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Meridian21Lab/catalogue-150m-11.5bt
- SGLang
How to use Meridian21Lab/catalogue-150m-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/catalogue-150m-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/catalogue-150m-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/catalogue-150m-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/catalogue-150m-11.5bt", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Meridian21Lab/catalogue-150m-11.5bt with Docker Model Runner:
docker model run hf.co/Meridian21Lab/catalogue-150m-11.5bt
Download samples/samples_ours.json from Meridian21Lab/catalogue-150m-11.5bt: direct link, hf CLI and curl.
- Browser
- Download file 3.48 kB
-
https://huggingface.co/Meridian21Lab/catalogue-150m-11.5bt/resolve/main/samples/samples_ours.json
- Command line
-
hf download hf://Meridian21Lab/catalogue-150m-11.5bt/samples/samples_ours.json
-
curl -L -o samples_ours.json https://huggingface.co/Meridian21Lab/catalogue-150m-11.5bt/resolve/main/samples/samples_ours.json
3.48 kB
| { | |
| "model": "Cache/e38_board/cat_m120t_final", | |
| "new_tokens": 60, | |
| "start_tokens": [ | |
| 0 | |
| ], | |
| "sample": { | |
| "temperature": 0.7, | |
| "top_p": 0.9, | |
| "repetition_penalty": 1.1, | |
| "seeds": [ | |
| 0, | |
| 1, | |
| 2 | |
| ] | |
| }, | |
| "beam": { | |
| "beams": 4, | |
| "no_repeat_ngram": 3 | |
| }, | |
| "date_utc": "2026-11-21 16:13 UTC", | |
| "prompts": [ | |
| { | |
| "prompt": "The capital of France is", | |
| "sample": { | |
| "0": " Paris, the largest city in Europe. It is the capital of France and the most populous city in the world. The French are a modern civilization that has been growing since ancient times.\n\nThere are many things you can do to make your life better. Here are some tips for living a better", | |
| "1": " Paris. Its rich history dates back to the 14th century, when it was founded by the French Emperor Louis XIV. The city is now a major center of cultural and economic development.\n\nThe city's unique architecture is one of the most famous in the world. The city has a", | |
| "2": " Paris, the most important city in France. The main market for the city is Paris-Rouen and the largest one is the Palais du Chateau de Ligny, which offers a good chance of buying from the French side. The city is also a great place to see the" | |
| }, | |
| "beam": " Paris, and the capital of the United States is New York. The capital of Germany is Berlin. The capitals of France and Germany are Paris and New York, respectively.\n\nFrance is the largest country in the world, with a population of over 100 million people. It is also" | |
| }, | |
| { | |
| "prompt": "In 1905, Albert Einstein published", | |
| "sample": { | |
| "0": " his famous theory of general relativity, which states that light travels at a speed faster than light. However, the theory was not yet fully understood by many physicists.\n\nThe term \"general relativity\" was first coined in 1934, but it wasn't until 1952", | |
| "1": " a book called \"The Theory of Relativity\". This book was published in 1912 and the world followed Einstein's work for more than a decade. However, in 1925, Albert Einstein's theory of relativity was presented as a theoretical work.\n\nA physicist at Harvard", | |
| "2": " his famous book \"General Theory of Relativity\" (the theory that describes the universe).\n\nThe author believed that the universe was a beautiful place.\n\nThe universe was simple and empty.\n\nThe universe was made of matter and energy.\n\nThe universe was made of light and darkness" | |
| }, | |
| "beam": " his famous theory of general relativity. This theory is based on the idea that light travels at the speed of light.\n\nThe theory was first proposed by Albert Einstein in 1891, but it wasn't until the year 2000 that it was officially accepted by the scientific" | |
| }, | |
| { | |
| "prompt": "def fibonacci(n):", | |
| "sample": { | |
| "0": " return fibonacci(n-1) + fibonacci(n-2) for n in range(1, 30)\ndef fibonacci(n): return fibonacci(n-1) + fibonacci(n-2) for n in range(1, 30", | |
| "1": "\ndef fibonacci(n):\nreturn n*n+1\nprint(fibonacci(10))\n\nIn the following code, we use a loop to iterate over the numbers from 1 to 10. The numbers are 1, 2, 3, ", | |
| "2": "\n fib = [0]*(n+1)\n for i in range(2, n+1):\n fib[i] = fib[i-1] + fib[i-2]\n return fib\n\nprint(fib(3)) # [0, 1" | |
| }, | |
| "beam": " return n*n+1 for n in range(1,1000)\ndef fib(n,k): return (n-1)*(n-2)+(n-3)*k for n,k in zip(range(2,n+2),range(n" | |
| } | |
| ] | |
| } |