Instructions to use hsge/TESS_768_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hsge/TESS_768_v1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hsge/TESS_768_v1") model = AutoModel.from_pretrained("hsge/TESS_768_v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from hsge/TESS_768_v1: direct link, hf CLI and curl.
- Browser
- Download file 956 Bytes
-
https://huggingface.co/hsge/TESS_768_v1/resolve/main/README.md
- Command line
-
hf download hf://hsge/TESS_768_v1/README.md
-
curl -L -o README.md https://huggingface.co/hsge/TESS_768_v1/resolve/main/README.md
956 Bytes
metadata
license: mit
Transformer Encoder for Social Science (TESS)
TESS is a deep neural network model intended for social science related NLP tasks. The model is developed by Haosen Ge, In Young Park, Xuancheng Qian, and Grace Zeng.
We demonstrate in two validation tests that TESS outperforms BERT and RoBERTa by 16.7% on average, especially when the number of training samples is limited (<1,000 training instances). The results display the superiority of TESS on social science text processing tasks.
GitHub: TESS.
Training Corpus
| TEXT | SOURCE |
|---|---|
| Preferential Trade Agreements | ToTA |
| Congressional Bills | Kornilova and Eidelman (2019) |
| UNGA Resolutions | UN |
| Firms' Annual Reports | Loughran and McDonald (2016) |
| U.S. Court Opinions | Caselaw Access Project |
The model is trained on 4 NVIDIA A100 GPUs for 120K steps.