Upload 2 files
Browse files- README_TEMPLATE.md +61 -0
- config.json +1 -0
README_TEMPLATE.md
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- llm-rs
|
4 |
+
- ggml
|
5 |
+
pipeline_tag: text-generation
|
6 |
+
license: apache-2.0
|
7 |
+
language:
|
8 |
+
- en
|
9 |
+
---
|
10 |
+
# GGML converted versions of [Together](https://huggingface.co/togethercomputer)'s RedPajama models
|
11 |
+
|
12 |
+
## Description
|
13 |
+
RedPajama-INCITE-Base-3B-v1 was developed by Together and leaders from the open-source AI community including Ontocord.ai, ETH DS3Lab, AAI CERC, Université de Montréal, MILA - Québec AI Institute, Stanford Center for Research on Foundation Models (CRFM), Stanford Hazy Research research group and LAION.
|
14 |
+
The training was done on 3,072 V100 GPUs provided as part of the INCITE 2023 project on Scalable Foundation Models for Transferrable Generalist AI, awarded to MILA, LAION, and EleutherAI in fall 2022, with support from the Oak Ridge Leadership Computing Facility (OLCF) and INCITE program.
|
15 |
+
|
16 |
+
- Base Model: [RedPajama-INCITE-Base-3B-v1](https://huggingface.co/togethercomputer/RedPajama-INCITE-Base-3B-v1)
|
17 |
+
- Instruction-tuned Version: [RedPajama-INCITE-Instruct-3B-v1](https://huggingface.co/togethercomputer/RedPajama-INCITE-Instruct-3B-v1)
|
18 |
+
- Chat Version: [RedPajama-INCITE-Chat-3B-v1](https://huggingface.co/togethercomputer/RedPajama-INCITE-Chat-3B-v1)
|
19 |
+
|
20 |
+
## Converted Models:
|
21 |
+
|
22 |
+
$MODELS$
|
23 |
+
|
24 |
+
## Usage
|
25 |
+
|
26 |
+
### Python via [llm-rs](https://github.com/LLukas22/llm-rs-python):
|
27 |
+
|
28 |
+
#### Installation
|
29 |
+
Via pip: `pip install llm-rs`
|
30 |
+
|
31 |
+
#### Run inference
|
32 |
+
```python
|
33 |
+
from llm_rs import AutoModel
|
34 |
+
|
35 |
+
#Load the model, define any model you like from the list above as the `model_file`
|
36 |
+
model = AutoModel.from_pretrained("rustformers/redpajama-3b-ggml",model_file="RedPajama-INCITE-Base-3B-v1-q4_0-ggjt.bin")
|
37 |
+
|
38 |
+
#Generate
|
39 |
+
print(model.generate("The meaning of life is"))
|
40 |
+
```
|
41 |
+
### Using [local.ai](https://github.com/louisgv/local.ai) GUI
|
42 |
+
|
43 |
+
#### Installation
|
44 |
+
Download the installer at [www.localai.app](https://www.localai.app/).
|
45 |
+
|
46 |
+
#### Running Inference
|
47 |
+
Download your preferred model and place it in the "models" directory. Subsequently, you can start a chat session with your model directly from the interface.
|
48 |
+
|
49 |
+
### Rust via [Rustformers/llm](https://github.com/rustformers/llm):
|
50 |
+
|
51 |
+
#### Installation
|
52 |
+
```
|
53 |
+
git clone --recurse-submodules https://github.com/rustformers/llm.git
|
54 |
+
cd llm
|
55 |
+
cargo build --release
|
56 |
+
```
|
57 |
+
|
58 |
+
#### Run inference
|
59 |
+
```
|
60 |
+
cargo run --release -- gptneox infer -m path/to/model.bin -p "Tell me how cool the Rust programming language is:"
|
61 |
+
```
|
config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"repo_type": "GGML"}
|