-
I write a model for a single class and labels is 2 label neg and pos, but get y_pred like this [0.4,0.5]
then i can't get F1 because fbeta is error!
and in your code:
```
def fbeta(
y_pred…
wac81 updated
4 years ago
-
(.venvpy36) transformers-ner/scripts % bash run_softmax_ner.sh
usage: run_softmax_ner.py [-h] --data_dir DATA_DIR --model_type MODEL_TYPE
--model_name_or_path MODEL_NAME_OR…
-
**Methods**
1. [Sanjeev Arora paper](https://openreview.net/pdf?id=SyK00v5xx)
2. sentence BERT
3. tf-idf
4. Jaccard and bigram Jaccard (on the fly)
### For reddit preprocessing
1. [ ] Ma…
-
I am using version 1.6.4. After I trained my model with:
text_classifier = sagemaker.RealTimePredictor(endpoint=bt_model.endpoint_name,
sagemaker_sess…
-
Hello,
I followed the documentation and converted my data files accordingly but i get the following error
```
mp = predictor.predict_batch(test_data)
File "/home/bhavay18384/.conda/envs/myenv…
-
str2encoder就是{"fast_text": FastTextEncoder, "bert": BertEncoder}这样一个dict,你放__init__.py里或者recaller.py都行。
train_epoch函数用你注释掉的那个,batchloss先别用。
str2scorer和str2encoder类似,存放的是判断两个向量之间相似度的模块,现在就用cosine函数就行…
-
Hi all,
With the change in cadence in the mainline, i was thinking that it made sense to start a repo where the community can make contributions easily as i continue to see great potential in cntk …
-
**Version**
PyABSA version 2.4.1.post1
**Describe the bug**
When loading the multilingual SentimentClassifier model, PyABSA raises an exception about an AttributeError :
```bash
[2024-07-30 17…
-
Hi all,
First of all, to the authors great work on the paper and repo :)
This repo might or might not be the best place to post it, but was wondering if someone had tried adding an Auto Encoder o…
-
### Context
I followed a blog post that described how to glue FastBert and AWS Sagemaker. I may be missing something trivial, but from what I see the `container/bert/predictor.py` file does not expos…