--- license: llama3.2 base_model: unsloth/Llama-3.2-1B-Instruct-bnb-4bit library_name: llama.cpp pipeline_tag: text-generation tags: - llama - llama-3.2 - gguf - text-generation - telegram - trading-signals - structured-output - json datasets: - Sigrex/telegram-signal-extract --- # Telegram Signal Extract — Llama 3.2 1B A fine-tuned **Llama 3.2 1B Instruct** model for extracting a compact trading-signal payload from Telegram channel messages. It is intended to return either a payload such as: ```json {"symbol":"ONEUSDT","side":"BUY"} ``` or the literal JSON value: ```json null ``` The model was trained with supervised examples pairing Telegram messages with a signal payload or `null`. For best observed output, use **temperature 0** and the task system prompt below. Fine-tuning alone does not guarantee valid JSON or correct classifications; validate model output before using it. ## System prompt ```text You extract trade signals from Telegram channel messages. For an actionable open/close signal, reply with ONLY a JSON object like {"symbol": "BTCUSDT", "side": "BUY"} where symbol is the uppercase trading pair and side is BUY or SELL. If the message is not an actionable signal, reply with exactly: null ``` ## Files | File | Quantization / precision | Approx. size | |---|---:|---:| | `Llama-3.2-1B-Instruct.Q4_K_M.gguf` | Q4_K_M | 771 MiB | | `Llama-3.2-1B-Instruct.Q5_K_M.gguf` | Q5_K_M | 870 MiB | | `Llama-3.2-1B-Instruct.Q6_K.gguf` | Q6_K | 975 MiB | | `Llama-3.2-1B-Instruct.Q8_0.gguf` | Q8_0 | 1.23 GiB | | `Llama-3.2-1B-Instruct.F16.gguf` | F16 | 2.31 GiB | | `Llama-3.2-1B-Instruct.BF16.gguf` | BF16 | 2.31 GiB | | Other `IQ*` and `Q2`/`Q3` GGUFs | Smaller quantizations | See file sizes on the Files tab | The repository is large because it includes **all exported variants**. For most local use, start with `Q4_K_M`; use a higher precision variant if you have enough memory and want to compare quality. ## Task and output - **Input:** one raw Telegram message. - **Positive output:** `{"symbol":"","side":"BUY"}` or `{"symbol":"","side":"SELL"}`. - **Negative output:** `null`. - The payload contains `symbol` and `side` only. It does not estimate trade size, profitability, or risk. ## Intended use and limitations This is an experimental information-extraction model, not a trading system or investment recommendation. It can miss signals, misread tickers/direction, or return invalid output. **Do not automatically place orders from its responses.** Parse the output as JSON, reject anything outside the expected schema, and independently validate symbols and trading actions. ## Base model and license This model is derived from `unsloth/Llama-3.2-1B-Instruct-bnb-4bit`. The base model is governed by Meta's **Llama 3.2 Community License Agreement** and applicable acceptable-use terms; this model is marked `llama3.2`, not MIT. Review and comply with the upstream license before distributing or using it. If distributing a Llama derivative, include the applicable agreement and required attribution notices; see the [Llama 3.2 model page](https://huggingface.co/meta-llama/Llama-3.2-1B-Instruct).