File size: 3,505 Bytes
1c404cb c049ca7 f172d16 50b42cc f172d16 c049ca7 65f8839 1c404cb f172d16 6cbca7f f172d16 b871d8b f172d16 c7a8894 f172d16 afb3266 f172d16 8f89a5c f172d16 8f89a5c f172d16 8f89a5c f172d16 afb3266 f172d16 afb3266 f172d16 afb3266 f172d16 afb3266 f172d16 b871d8b f172d16 65f8839 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
---
language:
- en
datasets:
- English
tags:
- text generation
- pytorch
- causal-lm
- Writer-data
- NeMo
- palmyra
pipeline_tag: text-generation
library_name: transformers
license: apache-2.0
---
# Palmyra 5B
<style>
img {
display: inline;
}
</style>
|[![Model architecture](https://img.shields.io/badge/Model%20Arch-Transformer%20Decoder-green)](#model-architecture)|[![Model size](https://img.shields.io/badge/Params-3b-green)](#model-architecture)|[![Language](https://img.shields.io/badge/Language-en--US-lightgrey#model-badge)](#datasets)
**DEPRECATED MODEL NOTICE**
==========================
Please note that this model is no longer maintained or supported by our team. We strongly advise against using it in production or for any critical applications.
Instead, we recommend using our latest and greatest models, which can be found at:
https://huggingface.co/collections/Writer/palmyra-writer-license-66476fa8156169f8720a2c89
## Model Description
Palmyra 3B was primarily pre-trained with English text. Note that there is still a trace amount of non-English data present within the training corpus that was accessed through CommonCrawl. A causal language modeling (CLM) objective was utilized during the process of the model's pretraining. Similar to GPT-3, Palmyra 3B is a member of the same family of models that only contain a decoder. As a result, it was pre-trained utilizing the objective of self-supervised causal language modeling. Palmyra 3B uses the prompts and general experimental setup from GPT-3 in order to conduct its evaluation per GPT-3.
## Use case
Palmyra 3B is the fastest of Writer’s LLMs and can perform important tasks such as text parsing, simple classification, address correction, and keyword recognition. Providing more context drives even better performance.
## Training data
Palmyra 3B was trained on Writer’s custom dataset.
## Intended Use and Limitations
Palmyra 3B learns an inner representation of the English language that can be used to extract features useful for downstream tasks. However, the model is best at what it was pre-trained for which is generating text from a prompt.
### How to use
This model can be easily loaded using the `AutoModelForCausalLM` functionality:
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("Writer/palmyra-3B")
tokenizer = AutoTokenizer.from_pretrained("Writer/palmyra-3B")
```
### Limitations and Biases
Palmyra 3B core functionality is to take a string of text and predict the next token. While language models are widely used for other tasks, there are many unknowns in this work. When prompting Palmyra, keep in mind that the next statistically likely token is not always the token that produces the most "accurate" text. Never rely on Palmyra 3B to produce factually correct results.
Palmyra 3B was trained on Writer’s custom data. As with all language models, it is difficult to predict how Palmyra 3B will respond to specific prompts, and offensive content may appear unexpectedly. We recommend that the outputs be curated or filtered by humans before they are released, both to censor undesirable content and to improve the quality of the results.
## Citation and Related Information
To cite this model:
```
@misc{Palmyra,
author = {Writer Engineering Team},
title = {{Palmyra 3B Parameter Autoregressive Language Model}},
howpublished = {\url{https://dev.writer.com}},
year = 2023,
month = March
}
``` |