You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from typing import Dict
|
|
|
|
import torch
|
|
from allennlp.models import Model
|
|
|
|
|
|
@Model.register("basic_bilstm_classifier")
|
|
class BiLstmClassifier(Model):
|
|
|
|
def forward(self, *inputs) -> Dict[str, torch.Tensor]:
|
|
pass
|