Added a base model class and training scripts for various sentiment analysis models, including Naive Bayes, SVM, XGBoost, LSTM, and BERT. Also, improved prediction functionality and the model loading mechanism.
This commit is contained in:
+4
-3
@@ -160,7 +160,7 @@ Desktop.ini
|
||||
# */*/models/
|
||||
|
||||
# PyTorch 模型文件
|
||||
*.pth
|
||||
# *.pth
|
||||
*.pt
|
||||
*.bin
|
||||
*.ckpt
|
||||
@@ -183,6 +183,7 @@ WeiboSentiment_Finetuned/BertChinese-Lora/models/
|
||||
WeiboSentiment_LLM/models/
|
||||
WeiboSentiment_Finetuned/BertChinese-Lora/model/
|
||||
WeiboMultilingualSentiment/model/
|
||||
WeiboSentiment_MachineLearning/model/chinese_wwm_pytorch/
|
||||
|
||||
# LoRA 和 Adapter 权重
|
||||
*/adapter_model.safetensors
|
||||
@@ -210,8 +211,8 @@ checkpoints/
|
||||
# */waimai_10k.csv
|
||||
|
||||
# 其他数据文件
|
||||
*.pkl
|
||||
*.pickle
|
||||
# *.pkl
|
||||
# *.pickle
|
||||
*.json.gz
|
||||
*.jsonl
|
||||
*.parquet
|
||||
|
||||
Reference in New Issue
Block a user