初始化项目,由ModelHub XC社区提供模型

Model: ethicalabs/Tower-Plus-2B-mlx
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-09-14 15:18:16 +08:00
commit d5330a5159
10 changed files with 2495 additions and 0 deletions

66
README.md Normal file
View File

@@ -0,0 +1,66 @@
---
base_model: Unbabel/Tower-Plus-2B
license: cc-by-nc-sa-4.0
language:
- de
- nl
- is
- es
- fr
- pt
- uk
- hi
- zh
- ru
- cs
- ko
- ja
- it
- en
- da
- pl
- hu
- sv
- 'no'
- ro
- fi
library_name: mlx
pipeline_tag: text-generation
tags:
- mlx
---
# ethicalabs/Tower-Plus-2B-mlx
> [!WARNING]
> This repository contains experimental models designed strictly for academic evaluation and research purposes.
>
> Critical Constraints:
> * **No Production Deployment:** Experimental models must not be deployed in commercial, enterprise, or mission-critical environments under any circumstances.
> * **No Liability:** Experimental models are provided "as-is" without warranties of any kind. The developers assume zero liability for downstream consequences, system integration failures, or regulatory non-compliance resulting from unauthorized deployment.
This model [ethicalabs/Tower-Plus-2B-mlx](https://huggingface.co/ethicalabs/Tower-Plus-2B-mlx) was
converted to MLX format from [Unbabel/Tower-Plus-2B](https://huggingface.co/Unbabel/Tower-Plus-2B)
using mlx-lm version **0.28.3**.
## Use with mlx
```bash
pip install mlx-lm
```
```python
from mlx_lm import load, generate
model, tokenizer = load("ethicalabs/Tower-Plus-2B-mlx")
prompt = "hello"
if tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, add_generation_prompt=True
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)
```