-
import torch
from transformers import BertForTokenClassification, BertTokenizer, AdamW
# 设定设备
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
# 加载预训练的BERT模型和分词器
model_name = 'b…
-
#### Description
I was trying to create my custom algo and before moving to something more complicated I wanted to make sure I understand how current code is working.
I couldn't understand why C…
-
__Terms:__
I've annotated each link using the following terms below. I've provided explanations for what I mean by each term.
[Formatting Issues] Usually an issue with bullet or numbered lists
[M…
-
### ❔ Any questions
torchattacks.FGSM(model, eps=0) seems to perturb my data, even though eps = 0.
When testing my original data, I get an accuracy of 81.2%. Once I get predictions when performing…
-
Hi Sasha,
There are a number of items missing from your submissions:
- no text file listing where each item is found (the paths to each assignment item)
- no group project items showing the analyse…
-
In an ideal world I think news url's when one is using categories, should look something like this:
website.com/news - Main news page, lists news items from all categories.
website.com/news/sport - …
-
### Description
How to use the **ScoreWideAndDeepRecommenderModule**() and related score_params to make prediction for "new" userIds?
1. I've trained a Wide and Deep model from the Studio to make …
-
-
## Description
The plot of median prediction is shifted to the left by one index, while 90% and 50% prediction interval plots are correct. Potential reason is that the data is resampled by week, whic…
-
TT-NWPMD Meeting 2023.06.13 asked all TT members to
* list the information they intend to advertise in the metadata records as key/values pairs, based on the current [WCMP2 specifications](https://w…