source context
D5992046 41d9 4d41 Bdf2 Ad4fbc1a033c
ctx:claims/beam/d5992046-41d9-4d41-bdf2-ad4fbc1a033cNo external document is attached to this context. (Many contexts are pure organisational labels.)
Facts in this context
Grouped by subject. Each subject links to its full article.
Batch Reformulate15 factsex:batch_reformulate
| bypassesCache | true |
| hasParameter | queries |
| hasParameter | self |
| iteratesOver | Queries |
| memberOf | Reformulation Model |
| performsBatchQueryReformulation | true |
| processesInParallel | false |
| processesMultiple | Queries |
| produces | Decoded Outputs |
| rdfs:label | batch_reformulate |
| rdf:type | Method |
| returnsList | true |
| usesListComprehension | true |
| usesPadding | true |
| usesTruncation | true |
Reformulation Model12 factsex:ReformulationModel
| dependsOn | Redis |
| dependsOn | Concurrent.futures |
| designedFor | Query Reformulation |
| hasAttribute | Tokenizer |
| hasAttribute | Model |
| hasMethod | Reformulate |
| hasMethod | Batch Reformulate |
| hasMethod | Init |
| possiblyRelatedTo | Reformulation Pipeline |
| rdfs:label | ReformulationModel |
| rdf:type | Class |
| usesMachineLearning | true |
Reformulate11 factsex:reformulate
| cachesResult | Reformulated Query |
| checksCacheFirst | true |
| hasParameter | query |
| hasParameter | self |
| hasReturnValue | Cached Result |
| memberOf | Reformulation Model |
| performsQueryReformulation | true |
| rdfs:label | reformulate |
| rdf:type | Method |
| usesCache | Redis Client |
| usesFStringFormatting | true |
Redis Client9 factsex:redis_client
| cacheExpiration | 3600 |
| callsGet | true |
| callsSet | true |
| initializedBy | Redis.redis |
| memberOf | Reformulation Model |
| rdfs:label | redis_client |
| rdf:type | Instance Variable |
| setsValue | Query |
| usedBy | Reformulate |
Redis.redis8 factsex:redis.Redis
| connectsTo | Localhost |
| createsConnection | Redis Connection |
| hasArgument | db |
| hasArgument | host |
| hasArgument | port |
| importedFrom | Redis |
| rdfs:label | Redis |
| rdf:type | Class |
Outputs6 factsex:outputs
| accessedAtIndex | 0 |
| contains | Tensor Output |
| indexedAt | 0 |
| isList | true |
| producedBy | Model.generate |
| returnedBy | Model.generate |
Reformulation Pipeline6 factsex:ReformulationPipeline
| hasNoBody | true |
| hasNoVisibleMethods | true |
| isIncomplete | true |
| isPartOf | Codebase |
| rdfs:label | ReformulationPipeline |
| rdf:type | Class |
As Completed5 factsex:as_completed
| availableForTrackingCompletion | true |
| importedButNotUsedInVisibleCode | true |
| importedFrom | Concurrent.futures |
| rdfs:label | as_completed |
| rdf:type | Import |
Auto Model for Seq2 Seq Lm5 factsex:AutoModelForSeq2SeqLM
| designedFor | Sequence to Sequence |
| importedFrom | Transformers |
| rdfs:label | AutoModelForSeq2SeqLM |
| rdf:type | Class |
| subclassOf | Pre Trained Model |
Auto Tokenizer5 factsex:AutoTokenizer
| designedFor | Text Tokenization |
| importedFrom | Transformers |
| rdfs:label | AutoTokenizer |
| rdf:type | Class |
| subclassOf | Pre Trained Tokenizer |
Thread Pool Executor5 factsex:ThreadPoolExecutor
| availableForParallelProcessing | true |
| importedButNotUsedInVisibleCode | true |
| importedFrom | Concurrent.futures |
| rdfs:label | ThreadPoolExecutor |
| rdf:type | Import |
04 factsex:0
| defaultDatabase | true |
| isDatabaseIndexFor | Redis.redis |
| rdfs:label | 0 |
| rdf:type | Database Index |
63794 factsex:6379
| defaultPort | true |
| isPortFor | Redis.redis |
| rdfs:label | 6379 |
| rdf:type | Port Number |
Concurrent.futures4 factsex:concurrent.futures
| provides | As Completed |
| provides | Thread Pool Executor |
| rdfs:label | concurrent.futures |
| rdf:type | Module |
Decoded Outputs4 factsex:decoded_outputs
| contains | Decoded String |
| rdfs:label | [self.tokenizer.decode(output, skip_special_tokens=True) for output in outputs] |
| rdf:type | List |
| returnedBy | Batch Reformulate |
Init4 factsex:__init__
| hasParameter | self |
| memberOf | Reformulation Model |
| rdfs:label | __init__ |
| rdf:type | Method |
Localhost4 factsex:localhost
| defaultHost | true |
| isHostFor | Redis.redis |
| rdfs:label | localhost |
| rdf:type | Hostname |
Comment3 factsex:comment
| describes | Cache Expiration |
| rdfs:label | Cache for 1 hour |
| rdf:type | Code Comment |
Decode3 factsex:decode
| rdfs:label | decode |
| rdf:type | Decoding Method |
| usesSkipSpecialTokens | true |
Ex3 factsex:ex
| parameterNameFor | Cache Expiration |
| rdfs:label | ex |
| rdf:type | Parameter Name |
Model3 factsex:model
| calledWith | Inputs |
| initializedBy | Auto Model for Seq2 Seq Lm.from Pretrained |
| rdf:type | Attribute |
Queries3 factsex:queries
| rdfs:label | queries |
| rdf:type | Parameter Collection |
| referencedIn | Batch Reformulate |
Query3 factsex:query
| cachedAsKey | Redis Client |
| referencedIn | Reformulate |
| usedAsCacheKey | true |
Redis Connection3 factsex:redis_connection
| rdfs:label | redis_connection |
| rdf:type | Connection |
| usesProtocol | Redis Protocol |
T5 Small3 factsex:t5-small
| modelFamily | T5 |
| rdfs:label | t5-small |
| rdf:type | Model Name |
Tokenizer3 factsex:tokenizer
| calledWith | Return Tensors Pt |
| initializedBy | Auto Tokenizer.from Pretrained |
| rdf:type | Attribute |
Auto Model for Seq2 Seq Lm.from Pretrained2 factsex:AutoModelForSeq2SeqLM.from_pretrained
| hasArgument | t5-small |
| rdf:type | Class Method |
Auto Tokenizer.from Pretrained2 factsex:AutoTokenizer.from_pretrained
| hasArgument | t5-small |
| rdf:type | Class Method |
Cache Check2 factsex:cache_check
| rdfs:label | cache check |
| rdf:type | Operation |
Cached Result2 factsex:cached_result
| decodedAs | Utf 8 String |
| originallyBytes | true |
Cache Expiration2 factsex:cache_expiration
| rdfs:label | cache expiration |
| rdf:type | Parameter |
Cache Miss2 factsex:cache_miss
| rdfs:label | cache miss |
| rdf:type | State |
Cache Storage2 factsex:cache_storage
| rdfs:label | redis_cache |
| rdf:type | Storage |
From Pretrained2 factsex:from_pretrained
| rdfs:label | from_pretrained |
| rdf:type | Class Method |
F String2 factsex:f-string
| rdfs:label | reformulate: {query} |
| rdf:type | String Interpolation |
F String in Batch2 factsex:f-string-in-batch
| rdfs:label | reformulate: {q} |
| rdf:type | F String |
F String in Reformulate2 factsex:f-string-in-reformulate
| rdfs:label | reformulate: {query} |
| rdf:type | F String |
Generate2 factsex:generate
| rdfs:label | generate |
| rdf:type | Generation Method |
**inputs2 factsex:**inputs
| rdfs:label | **inputs |
| rdf:type | Keyword Argument Unpacking |
List Comprehension2 factsex:list_comprehension
| rdfs:label | [self.tokenizer.decode(output, skip_special_tokens=True) for output in outputs] |
| rdf:type | Python Feature |
Q2 factsex:q
| rdfs:label | q |
| rdf:type | Loop Variable |
Query Reformulation2 factsex:query_reformulation
| rdfs:label | query reformulation |
| rdf:type | Task |
Reformulated Query2 factsex:reformulated_query
| cachedIn | Redis Client |
| storedInCache | true |
Return Tensors Pt2 factsex:return_tensors_pt
| rdfs:label | return_tensors='pt' |
| rdf:type | Parameter |
Sequence to Sequence2 factsex:sequence_to_sequence
| rdfs:label | sequence-to-sequence |
| rdf:type | Model Type |
Skip Special Tokens2 factsex:skip_special_tokens
| rdfs:label | skip_special_tokens=True |
| rdf:type | Parameter |
T52 factsex:T5
| rdfs:label | T5 |
| rdf:type | Model Family |
Text Tokenization2 factsex:text_tokenization
| rdfs:label | text tokenization |
| rdf:type | Process |
Truncation2 factsex:truncation
| rdfs:label | truncation=True |
| rdf:type | Parameter |
Cached Result or None1 factex:cached_result_or_none
| rdf:type | Optional |
Codebase1 factex:codebase
| rdf:type | Software Project |
Decoded String1 factex:decoded_string
| rdf:type | String |
Model.generate1 factex:model.generate
| rdf:type | Method |
Redis Client.get1 factex:redis_client.get
| returns | Cached Result or None |
Redis Client.set1 factex:redis_client.set
| hasSideEffect | Cache Storage |
Redis Protocol1 factex:redis_protocol
| rdf:type | Protocol |
Tensor Output1 factex:tensor_output
| rdf:type | Tensor |
Utf 8 String1 factex:utf-8_string
| rdf:type | String |