File size: 1,780 Bytes
46d6606 c47aa9c d603803 46d6606 f214b54 46d6606 d603803 46d6606 e8d1920 46d6606 e011a65 46d6606 e011a65 f214b54 46d6606 870b6bd 0cff5a2 870b6bd 55e1c21 870b6bd 55e1c21 870b6bd 55e1c21 870b6bd 46d6606 5d330b8 d603803 |
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 |
---
tags:
- generated_from_trainer
language: ja
widget:
- text: 🤗セグメント利益は、前期比8.3%増の24億28百万円となった
metrics:
- accuracy
- f1
model-index:
- name: Japanese-sentiment-analysis
results: []
datasets:
- jarvisx17/chABSA
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# japanese-sentiment-analysis
This model is the work of jarvisx17 and was trained from scratch on the chABSA dataset.
It achieves the following results on the evaluation set:
- Loss: 0.0001
- Accuracy: 1.0
- F1: 1.0
## Model description
Model Train for Japanese sentence sentiments.
## Intended uses & limitations
The model was trained on chABSA Japanese dataset.
DATASET link : https://www.kaggle.com/datasets/takahirokubo0/chabsa
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 10
## Usage
You can use cURL to access this model:
Python API:
```
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("jarvisx17/japanese-sentiment-analysis")
model = AutoModelForSequenceClassification.from_pretrained("jarvisx17/japanese-sentiment-analysis")
inputs = tokenizer("I love AutoNLP", return_tensors="pt")
outputs = model(**inputs)
```
### Training results
### Framework versions
- Transformers 4.24.0
- Pytorch 1.12.1+cu113
- Datasets 2.7.0
- Tokenizers 0.13.2
### Dependencies
- !pip install fugashi
- !pip install unidic_lite |