You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

test_snli.py 270 B

123456789
  1. import unittest
  2. from .model_runner import *
  3. from fastNLP.models.snli import ESIM
  4. class TestSNLIModel(unittest.TestCase):
  5. def test_snli(self):
  6. model = ESIM((VOCAB_SIZE, 10), num_labels=NUM_CLS, dropout_rate=0)
  7. RUNNER.run_model_with_task(NLI, model)