Instructions to use KevSun/Personality_LM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KevSun/Personality_LM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KevSun/Personality_LM")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KevSun/Personality_LM") model = AutoModelForSequenceClassification.from_pretrained("KevSun/Personality_LM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -22,6 +22,8 @@ article{wang2024personality,
|
|
| 22 |
|
| 23 |
The project of predicting human cognition and emotion, and training details are available at: https://github.com/fivehills/detecting_personality
|
| 24 |
|
|
|
|
|
|
|
| 25 |
The following provides the code to implement the task of detecting personality from an input text.
|
| 26 |
|
| 27 |
```python
|
|
|
|
| 22 |
|
| 23 |
The project of predicting human cognition and emotion, and training details are available at: https://github.com/fivehills/detecting_personality
|
| 24 |
|
| 25 |
+
You can obtain the personality scores for an input text in the App **KevSun/Personality_Test**.
|
| 26 |
+
|
| 27 |
The following provides the code to implement the task of detecting personality from an input text.
|
| 28 |
|
| 29 |
```python
|