SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2021.emnlp-main.721 · EMNLP · 2021

YASO: A Targeted Sentiment Analysis Evaluation Dataset for Open-Domain Reviews

Noam Slonim, Ranit Aharonov, Orith Toledo-Ronen, Matan Orbach, Artem Spector, Yoav Katz

Open in the Atlas

Code that ran

11 of 17 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 11 have no contract verdict; 0 failures of our instrument; 6 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2021.emnlp-main.721.json · badge: /api/ran/2021.emnlp-main.721.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
yangheng95/LCF-ATEPC canonical (classifier label)
classifier basis: census
6 ran · 2 no recorded run
lixin4ever/BERT-E2E-ABSA canonical (classifier label)
classifier basis: census
5 ran · 4 no recorded run
FunctionStatusWhere it lives
assemble_aspects Ran
ran on a synthesized input
yangheng95/LCF-ATEPC/dataset_preprocess.py
code served (permissive licence) · get_code("cd3710d51d1b3353")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os

# Create a temporary file with sample data matching the function's expectations
temp_dir = tempfile.mkdtemp()
fname = os.path.join(temp_dir, "test_aspects.txt")

# Write sample data: groups of 3 lines (sentence with $T$, aspect, polarity)
# Line 0: sentence with $T$ placeholder
# Line 1: aspect term
# Line 2: polarity (-1, 0, or 1)
with open(fname, 'w', encoding='utf-8') as f:
    # First group of aspects (similar sentences)
    f.write("this $ t $ is great\n")
    f.write("product\n")
    f.write("1\n")
    
    f.write("this $ t $ is great\n")
    f.write("product\n")
    f.write("1\n")
    
    # Second group (different sentence)
    f.write("the service was bad\n")
    f.write("service\n")
    f.write("-1\n")
    
    f.write("the service was bad\n")
    f.write("service\n")
    f.write("-1\n")

ARGS = {
    "fname": fname
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
assemble_aspects Ran
ran on a synthesized input
yangheng95/LCF-ATEPC/utils/dataset_preprocess.py
code served (permissive licence) · get_code("c28c860e894c7d85")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os

# Create a temporary file with sample data for the assemble_aspects function
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt', encoding='utf-8', newline='\n')

# Write sample data in the expected format (lines come in groups of 3: text, aspect, polarity)
sample_data = """This is a great product with $T$ quality
quality
1
This is a great product with $T$ quality
design
0
Another sentence about $T$ here
feature
-1
Different sentence with $T$ word
word
1
"""

temp_file.write(sample_data)
temp_file.close()

ARGS = {
    'fname': temp_file.name
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
build_tf_xlnet_to_pytorch_map Ran
ran on a synthesized input
lixin4ever/BERT-E2E-ABSA/bert_utils.py
code served (permissive licence) · get_code("c92ba449e48ecffe")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Build minimal attention layer
class RelAttn(nn.Module):
    def __init__(self, d_model=4, num_heads=2):
        super().__init__()
        self.layer_norm = nn.LayerNorm(d_model)
        self.o = nn.Linear(d_model, d_model)
        self.q = nn.Linear(d_model, d_model)
        self.k = nn.Linear(d_model, d_model)
        self.r = nn.Linear(d_model, d_model)
        self.v = nn.Linear(d_model, d_model)
        self.r_r_bias = torch.randn(4)
        self.r_w_bias = torch.randn(4)
        self.r_s_bias = torch.randn(4)
        self.seg_embed = torch.randn(2, 4)

# Build minimal feedforward layer
class FFN(nn.Module):
    def __init__(self, d_model=4, d_ff=8):
        super().__init__()
        self.layer_norm = nn.LayerNorm(d_model)
        self.layer_1 = nn.Linear(d_model, d_ff)
        self.layer_2 = nn.Linear(d_ff, d_model)

# Build minimal transformer layer
class TransformerLayer(nn.Module):
    def __init__(self, d_model=4, d_ff=8):
        super().__init__()
        self.rel_attn = RelAttn(d_model=d_model)
        self.ff = FFN(d_model=d_model, d_ff=d_ff)

# Build minimal transformer
class Transformer(nn.Module):
    def __init__(self, num_layers=2, d_model=4, d_ff=8, untie_r=False):
        super().__init__()
        self.word_embedding = nn.Embedding(100, d_model)
        self.mask_emb = torch.randn(d_model)
        self.layer = nn.ModuleList([TransformerLayer(d_model, d_ff) for _ in range(num_layers)])
        self.untie_r = untie_r
        
        if not untie_r:
            self.r_r_bias = torch.randn(d_model)
            self.r_w_bias = torch.randn(d_model)
            self.r_s_bias = torch.randn(d_model)
            self.seg_embed = torch.randn(2, d_model)

# Build full model with optional lm_loss, sequence_summary, logits_proj
class XLNetModel(nn.Module):
    def __init__(self, num_layers=2, d_model=4, d_ff=8, untie_r=False, with_lm_loss=True, with_sequence_summary=False, with_logits_proj=False):
        super().__init__()
        self.transformer = Transformer(num_layers=num_layers, d_model=d_model, d_ff=d_ff, untie_r=untie_r)
        if with_lm_loss:
            self.lm_loss = nn.Linear(d_model, 100)
        if with_sequence_summary:
            self.sequence_summary = nn.Module()
            self.sequence_summary.summary = nn.Linear(d_model, d_model)
        if with_logits_proj:
            self.logits_proj = nn.Linear(d_model, 1)

# Build config
class Config:
    def __init__(self, untie_r=False, finetuning_task=None):
        self.untie_r = untie_r
        self.finetuning_task = finetuning_task

# Create instances
model = XLNetModel(num_layers=2, d_model=4, d_ff=8, untie_r=False, with_lm_loss=True, with_sequence_summary=True, with_logits_proj=True)
config = Config(untie_r=False, finetuning_task="regression")
tf_weights = {
    'model/sequnece_summary/summary/kernel': True,
    'model/regression_regression/logit/kernel': True,
}

ARGS = {
    "model": model,
    "config": config,
    "tf_weights": tf_weights,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
convert_examples_to_features Ran
ran on a synthesized input
lixin4ever/BERT-E2E-ABSA/glue_utils.py
code served (permissive licence) · get_code("ee0b944a7be8b14a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import logging

logging.basicConfig(level=logging.INFO)

class SimpleTokenizer:
    def __init__(self):
        self.vocab = {
            '[CLS]': 101,
            '[SEP]': 102,
            'hello': 1,
            'world': 2,
            'this': 3,
            'is': 4,
            'a': 5,
            'test': 6,
            'sample': 7,
            'text': 8,
        }
    
    def tokenize(self, text):
        if text is None:
            return []
        tokens = text.lower().split()
        return tokens
    
    def convert_tokens_to_ids(self, tokens):
        ids = []
        for token in tokens:
            ids.append(self.vocab.get(token, 999))
        return ids

class InputExample:
    def __init__(self, guid, text_a, text_b=None, label=None):
        self.guid = guid
        self.text_a = text_a
        self.text_b = text_b
        self.label = label

examples = [
    InputExample(guid="0", text_a="hello world", text_b="this is", label="positive"),
    InputExample(guid="1", text_a="test sample", text_b=None, label="negative"),
]

label_list = ["positive", "negative"]

tokenizer = SimpleTokenizer()

ARGS = {
    'examples': examples,
    'label_list': label_list,
    'max_seq_length': 16,
    'tokenizer': tokenizer,
    'output_mode': 'classification',
    'cls_token_at_end': False,
    'pad_on_left': False,
    'cls_token': '[CLS]',
    'sep_token': '[SEP]',
    'pad_token': 0,
    'sequence_a_segment_id': 0,
    'sequence_b_segment_id': 1,
    'cls_token_segment_id': 1,
    'pad_token_segment_id': 0,
    'mask_padding_with_zero': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_similar Ran
ran on a synthesized input
yangheng95/LCF-ATEPC/dataset_preprocess.py
code served (permissive licence) · get_code("fd63199da1436494")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

ARGS = {
    "s1": "the quick brown fox jumps over the lazy dog",
    "s2": "the quick brown fox jumps over the lazy dog"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_similar Ran
ran on a synthesized input
yangheng95/LCF-ATEPC/utils/dataset_preprocess.py
code served (permissive licence) · get_code("120425dc080a54a5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

ARGS = {
    "s1": "hello world test string",
    "s2": "hello world foo bar"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ot2bieos_ts Ran
ran on a synthesized input
lixin4ever/BERT-E2E-ABSA/seq_utils.py
code served (permissive licence) · get_code("1c054fccc09b75d9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Based on the function signature, ts_tag_sequence is a list of tag strings
# The function processes a sequence of targeted-sentiment tags and converts them to BIEOS format

# Valid tag examples: 'O', 'EQ', or format like 'POS-positive', 'NEG-negative', 'NEU-neutral'
# where the first part before '-' is the position (POS, NEG, NEU, etc.) 
# and the second part is the sentiment

ts_tag_sequence = [
    'O',
    'POS-positive',
    'POS-positive',
    'O',
    'NEG-negative',
    'O',
    'NEU-neutral',
]

ARGS = {
    'ts_tag_sequence': ts_tag_sequence
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ot2bieos_ts_batch Ran
ran on a synthesized input
lixin4ever/BERT-E2E-ABSA/seq_utils.py
code served (permissive licence) · get_code("079f22c2a97a8691")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Construct valid arguments for ot2bieos_ts_batch function
# The function takes ts_tag_seqs as a parameter, which should be a list of tag sequences

# Each tag sequence is a list of strings
# Tags can be 'O' (outside), 'EQ', or formatted as 'POS-SENTIMENT' where POS is a position tag and SENTIMENT is a sentiment label

# Create sample tag sequences
tag_seq_1 = ['O', 'B-positive', 'I-positive', 'E-positive', 'O', 'B-negative', 'E-negative']
tag_seq_2 = ['B-neutral', 'I-neutral', 'I-neutral', 'E-neutral', 'O', 'O']
tag_seq_3 = ['O', 'B-positive', 'E-positive', 'O']
tag_seq_4 = ['B-negative', 'E-negative']

ts_tag_seqs = [tag_seq_1, tag_seq_2, tag_seq_3, tag_seq_4]

ARGS = {
    'ts_tag_seqs': ts_tag_seqs
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ot2bio_ts Ran
ran on a synthesized input
lixin4ever/BERT-E2E-ABSA/seq_utils.py
code served (permissive licence) · get_code("9c355dde0c163e2c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

def ot2bio_ts(ts_tag_sequence):
    """
    ot2bio function for ts tag sequence
    :param ts_tag_sequence:
    :return:
    """
    new_ts_sequence = []
    n_tag = len(ts_tag_sequence)
    prev_pos = '$$$'
    for i in range(n_tag):
        cur_ts_tag = ts_tag_sequence[i]
        if cur_ts_tag == 'O':
            new_ts_sequence.append('O')
            cur_pos = 'O'
        else:
            cur_pos, cur_sentiment = cur_ts_tag.split('-')
            if cur_pos == prev_pos:
                new_ts_sequence.append('I-%s' % cur_sentiment)
            else:
                new_ts_sequence.append('B-%s' % cur_sentiment)
        prev_pos = cur_pos
    return new_ts_sequence

# Construct valid arguments for ot2bio_ts
ts_tag_sequence = [
    'T-positive',
    'T-positive',
    'O',
    'A-negative',
    'A-negative',
    'T-neutral'
]

ARGS = {
    'ts_tag_sequence': ts_tag_sequence
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
readfile Ran
ran on a synthesized input
yangheng95/LCF-ATEPC/utils/data_utils.py
code served (permissive licence) · get_code("68cbb50f1dc71156")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os

# Create a temporary file with properly formatted data
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, encoding='utf8', suffix='.txt')
temp_filename = temp_file.name

# Write test data in the expected format: word tag polarity
test_data = """word1 NNP 1
word2 VBZ 0
word3 NN 1

word4 JJ 0
word5 RB 1
"""

temp_file.write(test_data)
temp_file.close()

ARGS = {
    'filename': temp_filename
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
split_aspects Ran
ran on a synthesized input
yangheng95/LCF-ATEPC/dataset_preprocess.py
code served (permissive licence) · get_code("46aefed36a74d9b2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

# Analyzing the function split_aspects:
# - It takes a 'sentence' parameter
# - sentence[0] is a string (aspect_contex) that contains '$A$' placeholders
# - sentence[1] is a pipe-separated string of aspects
# - sentence[2] is a pipe-separated string of polarities
# - It replaces '$A$' with each aspect and extracts context around it

# Construct valid arguments
ARGS = {
    "sentence": (
        "This food is $A$ but the $A$ is bad",  # sentence[0]: context with $A$ placeholders
        "delicious|service",                      # sentence[1]: pipe-separated aspects
        "positive|negative"                       # sentence[2]: pipe-separated polarities
    )
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
convert_examples_to_features Not yet run
unverified (harvested, no recorded run)
yangheng95/LCF-ATEPC/utils/data_utils.py
code served (permissive licence) · get_code("1f28c392ac4c4a49")
How it ran

no invocation recorded.

convert_examples_to_seq_features Not yet run
unverified (harvested, no recorded run)
lixin4ever/BERT-E2E-ABSA/glue_utils.py
code served (permissive licence) · get_code("ae33d78103473baa")
How it ran

no invocation recorded.

load_tf_weights_in_bert Not yet run
unverified (harvested, no recorded run)
lixin4ever/BERT-E2E-ABSA/bert_utils.py
code served (permissive licence) · get_code("e89694e5414e63af")
How it ran

no invocation recorded.

load_tf_weights_in_xlnet Not yet run
unverified (harvested, no recorded run)
lixin4ever/BERT-E2E-ABSA/bert_utils.py
code served (permissive licence) · get_code("ce614c377324101a")
How it ran

no invocation recorded.

match_ts Not yet run
unverified (harvested, no recorded run)
lixin4ever/BERT-E2E-ABSA/glue_utils.py
code served (permissive licence) · get_code("9f51a56622261d09")
How it ran

no invocation recorded.

repair_atepc_dataset Not yet run
unverified (harvested, no recorded run)
yangheng95/LCF-ATEPC/utils/prepare_dataset.py
code served (permissive licence) · get_code("6d065a79ce693a8a")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 4 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 1 later) and 13 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
build_tf_xlnet_to_pytorch_map 4 other papers
4 dated earlier
1906.08237 (2019-06)
XLNet: Generalized Autoregressive Pretraining for Language Understanding
1909.05311 (2019-09)
Graph-Based Reasoning over Heterogeneous External Knowledge for Commonsense Question Answering
2007.02439 (2020-07)
Pretrained Generalized Autoregressive Model with Adaptive Probabilistic Label Clusters for Extreme Multi-label Text Classification
and 1 more not named here
load_tf_weights_in_bert 3 other papers
3 dated earlier
1906.08237 (2019-06)
XLNet: Generalized Autoregressive Pretraining for Language Understanding
1909.05311 (2019-09)
Graph-Based Reasoning over Heterogeneous External Knowledge for Commonsense Question Answering
2005.00558 (2020-05)
POINTER: Constrained Progressive Text Generation via Insertion-based Generative Pre-training
convert_examples_to_features 1 other paper
1 later
2204.03230 (2022-04)
What You See is What You Get: Principled Deep Learning via Distributional Generalization
ot2bio_ts 1 other paper
1 dated earlier
1910.14192 (2019-10)
Transferable End-to-End Aspect-based Sentiment Analysis with Selective Adversarial Learning

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Current TSA evaluation in a cross-domain setup is restricted to the small set of review domains available in existing datasets. Such an evaluation is limited, and may not reflect true performance on sites like Amazon or Yelp that host diverse reviews from many domains. To address this gap, we present YASO -a new TSA evaluation dataset of open-domain user reviews. YASO contains 2215 English sentences from dozens of review domains, annotated with target terms and their sentiment. Our analysis verifies the reliability of these annotations, and explores the characteristics of the collected data. Benchmark results using five contemporary TSA systems show there is ample room for improvement on this challenging new dataset. YASO is available at github.com/IBM/yaso-tsa.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2021.emnlp-main.721")
get_code_for_paper("2021.emnlp-main.721")
have("2021.emnlp-main.721")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2021.emnlp-main.721.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2021.emnlp-main.721.svg)](https://syntology.ai/paper/2021.emnlp-main.721)

Connect an agent — have() is free.