bennymach commited on
Commit
28fc50d
·
verified ·
1 Parent(s): 01304a3

Document Pluto model

Browse files
Files changed (1) hide show
  1. README.md +41 -3
README.md CHANGED
@@ -1,3 +1,41 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: pytorch
3
+ pipeline_tag: text-generation
4
+ tags:
5
+ - custom-pytorch
6
+ - gpt
7
+ - causal-language-model
8
+ ---
9
+
10
+ # Pluto
11
+
12
+ Pluto is a small custom GPT-style causal language model implemented in
13
+ PyTorch. This repository contains an inference checkpoint and the source
14
+ needed to load it.
15
+
16
+ ## Usage
17
+
18
+ The model uses the GPT-2 byte-pair encoding tokenizer from `tiktoken`. For
19
+ instruction fine-tuning, format prompts as:
20
+
21
+ ```text
22
+ ### Instruction:
23
+ Your instruction here
24
+
25
+ ### Response:
26
+ ```
27
+
28
+ The checkpoint is a custom PyTorch checkpoint, not a Transformers
29
+ `AutoModelForCausalLM` checkpoint. Load it with the `GPT` and `GPTConfig`
30
+ classes from `model.py`.
31
+
32
+ ## Limitations
33
+
34
+ This is an experimental small model. Outputs may be inaccurate, repetitive,
35
+ or unsafe. The context window is 256 tokens.
36
+
37
+ ## Reproducibility
38
+
39
+ The release tag records the checkpoint selected for this version. Training
40
+ checkpoints and optimizer state should be retained privately or in a separate
41
+ training archive rather than bundled with the inference release.