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

Model: SpectraSuite/FloatLM_2.4B
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-08-03 19:22:19 +08:00
commit f2d31b156f
8 changed files with 100883 additions and 0 deletions

20
README.md Normal file
View File

@@ -0,0 +1,20 @@
---
license: apache-2.0
---
# FloatLM 2.4B
The good ol' FP16 LLMs with LLaMa architecture.
```python
import transformers as tf, torch
model_name = "SpectraSuite/FloatLM_2.4B"
# Please adjust the temperature, repetition penalty, top_k, top_p and other sampling parameters according to your needs.
pipeline = tf.pipeline("text-generation", model=model_id, model_kwargs={"torch_dtype": torch.float16}, device_map="auto")
# These are base (pretrained) LLMs that are not instruction and chat tuned. You may need to adjust your prompt accordingly.
pipeline("Once upon a time")
```
* License: Apache 2.0
* We will use our GitHub repo for communication (including HF repo related queries). Feel free to open an issue here https://github.com/NolanoOrg/SpectraSuite