Dontopedia
source context

D5992046 41d9 4d41 Bdf2 Ad4fbc1a033c

ctx:claims/beam/d5992046-41d9-4d41-bdf2-ad4fbc1a033c
kind: custommode: permissive214 statements67 distinct subjects

No 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

bypassesCachetrue
hasParameterqueries
hasParameterself
iteratesOverQueries
memberOfReformulation Model
performsBatchQueryReformulationtrue
processesInParallelfalse
processesMultipleQueries
producesDecoded Outputs
rdfs:labelbatch_reformulate
rdf:typeMethod
returnsListtrue
usesListComprehensiontrue
usesPaddingtrue
usesTruncationtrue

Reformulation Model12 factsex:ReformulationModel

dependsOnRedis
dependsOnConcurrent.futures
designedForQuery Reformulation
hasAttributeTokenizer
hasAttributeModel
hasMethodReformulate
hasMethodBatch Reformulate
hasMethodInit
possiblyRelatedToReformulation Pipeline
rdfs:labelReformulationModel
rdf:typeClass
usesMachineLearningtrue

Reformulate11 factsex:reformulate

cachesResultReformulated Query
checksCacheFirsttrue
hasParameterquery
hasParameterself
hasReturnValueCached Result
memberOfReformulation Model
performsQueryReformulationtrue
rdfs:labelreformulate
rdf:typeMethod
usesCacheRedis Client
usesFStringFormattingtrue

Redis Client9 factsex:redis_client

cacheExpiration3600
callsGettrue
callsSettrue
initializedByRedis.redis
memberOfReformulation Model
rdfs:labelredis_client
rdf:typeInstance Variable
setsValueQuery
usedByReformulate

Redis.redis8 factsex:redis.Redis

connectsToLocalhost
createsConnectionRedis Connection
hasArgumentdb
hasArgumenthost
hasArgumentport
importedFromRedis
rdfs:labelRedis
rdf:typeClass

Outputs6 factsex:outputs

accessedAtIndex0
containsTensor Output
indexedAt0
isListtrue
producedByModel.generate
returnedByModel.generate

Reformulation Pipeline6 factsex:ReformulationPipeline

hasNoBodytrue
hasNoVisibleMethodstrue
isIncompletetrue
isPartOfCodebase
rdfs:labelReformulationPipeline
rdf:typeClass

As Completed5 factsex:as_completed

availableForTrackingCompletiontrue
importedButNotUsedInVisibleCodetrue
importedFromConcurrent.futures
rdfs:labelas_completed
rdf:typeImport

Auto Model for Seq2 Seq Lm5 factsex:AutoModelForSeq2SeqLM

designedForSequence to Sequence
importedFromTransformers
rdfs:labelAutoModelForSeq2SeqLM
rdf:typeClass
subclassOfPre Trained Model

Auto Tokenizer5 factsex:AutoTokenizer

designedForText Tokenization
importedFromTransformers
rdfs:labelAutoTokenizer
rdf:typeClass
subclassOfPre Trained Tokenizer

Redis5 factsex:redis

importedFromRedis
providesRedis
rdfs:labelredis
rdf:typeImport
rdf:typeModule

Thread Pool Executor5 factsex:ThreadPoolExecutor

availableForParallelProcessingtrue
importedButNotUsedInVisibleCodetrue
importedFromConcurrent.futures
rdfs:labelThreadPoolExecutor
rdf:typeImport

04 factsex:0

defaultDatabasetrue
isDatabaseIndexForRedis.redis
rdfs:label0
rdf:typeDatabase Index

63794 factsex:6379

defaultPorttrue
isPortForRedis.redis
rdfs:label6379
rdf:typePort Number

Concurrent.futures4 factsex:concurrent.futures

providesAs Completed
providesThread Pool Executor
rdfs:labelconcurrent.futures
rdf:typeModule

Decoded Outputs4 factsex:decoded_outputs

containsDecoded String
rdfs:label[self.tokenizer.decode(output, skip_special_tokens=True) for output in outputs]
rdf:typeList
returnedByBatch Reformulate

Init4 factsex:__init__

hasParameterself
memberOfReformulation Model
rdfs:label__init__
rdf:typeMethod

Localhost4 factsex:localhost

defaultHosttrue
isHostForRedis.redis
rdfs:labellocalhost
rdf:typeHostname

Comment3 factsex:comment

describesCache Expiration
rdfs:labelCache for 1 hour
rdf:typeCode Comment

Decode3 factsex:decode

rdfs:labeldecode
rdf:typeDecoding Method
usesSkipSpecialTokenstrue

Ex3 factsex:ex

parameterNameForCache Expiration
rdfs:labelex
rdf:typeParameter Name

Inputs3 factsex:inputs

rdfs:labelinputs
rdf:typeVariable
unpackedAs**inputs

Model3 factsex:model

calledWithInputs
initializedByAuto Model for Seq2 Seq Lm.from Pretrained
rdf:typeAttribute

Queries3 factsex:queries

rdfs:labelqueries
rdf:typeParameter Collection
referencedInBatch Reformulate

Query3 factsex:query

cachedAsKeyRedis Client
referencedInReformulate
usedAsCacheKeytrue

Redis Connection3 factsex:redis_connection

rdfs:labelredis_connection
rdf:typeConnection
usesProtocolRedis Protocol

T5 Small3 factsex:t5-small

modelFamilyT5
rdfs:labelt5-small
rdf:typeModel Name

Tokenizer3 factsex:tokenizer

calledWithReturn Tensors Pt
initializedByAuto Tokenizer.from Pretrained
rdf:typeAttribute

02 facts0

rdfs:label0
rdf:typeIndex

36002 facts3600

rdfs:label3600
rdf:typeSeconds

Auto Model for Seq2 Seq Lm.from Pretrained2 factsex:AutoModelForSeq2SeqLM.from_pretrained

hasArgumentt5-small
rdf:typeClass Method

Auto Tokenizer.from Pretrained2 factsex:AutoTokenizer.from_pretrained

hasArgumentt5-small
rdf:typeClass Method

Cache Check2 factsex:cache_check

rdfs:labelcache check
rdf:typeOperation

Cached Result2 factsex:cached_result

decodedAsUtf 8 String
originallyBytestrue

Cache Expiration2 factsex:cache_expiration

rdfs:labelcache expiration
rdf:typeParameter

Cache Hit2 factsex:cache_hit

rdfs:labelcache hit
rdf:typeState

Cache Miss2 factsex:cache_miss

rdfs:labelcache miss
rdf:typeState

Cache Storage2 factsex:cache_storage

rdfs:labelredis_cache
rdf:typeStorage

From Pretrained2 factsex:from_pretrained

rdfs:labelfrom_pretrained
rdf:typeClass Method

F String2 factsex:f-string

rdfs:labelreformulate: {query}
rdf:typeString Interpolation

F String in Batch2 factsex:f-string-in-batch

rdfs:labelreformulate: {q}
rdf:typeF String

F String in Reformulate2 factsex:f-string-in-reformulate

rdfs:labelreformulate: {query}
rdf:typeF String

Generate2 factsex:generate

rdfs:labelgenerate
rdf:typeGeneration Method

Get2 factsex:get

rdfs:labelget
rdf:typeMethod

**inputs2 factsex:**inputs

rdfs:label**inputs
rdf:typeKeyword Argument Unpacking

List Comprehension2 factsex:list_comprehension

rdfs:label[self.tokenizer.decode(output, skip_special_tokens=True) for output in outputs]
rdf:typePython Feature

Padding2 factsex:padding

rdfs:labelpadding=True
rdf:typeParameter

Q2 factsex:q

rdfs:labelq
rdf:typeLoop Variable

Query Reformulation2 factsex:query_reformulation

rdfs:labelquery reformulation
rdf:typeTask

Reformulated Query2 factsex:reformulated_query

cachedInRedis Client
storedInCachetrue

Return Tensors Pt2 factsex:return_tensors_pt

rdfs:labelreturn_tensors='pt'
rdf:typeParameter

Sequence to Sequence2 factsex:sequence_to_sequence

rdfs:labelsequence-to-sequence
rdf:typeModel Type

Set2 factsex:set

rdfs:labelset
rdf:typeMethod

Skip Special Tokens2 factsex:skip_special_tokens

rdfs:labelskip_special_tokens=True
rdf:typeParameter

T52 factsex:T5

rdfs:labelT5
rdf:typeModel Family

Text Tokenization2 factsex:text_tokenization

rdfs:labeltext tokenization
rdf:typeProcess

Truncation2 factsex:truncation

rdfs:labeltruncation=True
rdf:typeParameter

36001 factex:3600

assignedToEx

Cached Result or None1 factex:cached_result_or_none

rdf:typeOptional

Codebase1 factex:codebase

rdf:typeSoftware Project

Decoded String1 factex:decoded_string

rdf:typeString

Model.generate1 factex:model.generate

rdf:typeMethod

Redis Client.get1 factex:redis_client.get

returnsCached Result or None

Redis Client.set1 factex:redis_client.set

hasSideEffectCache Storage

Redis Protocol1 factex:redis_protocol

rdf:typeProtocol

Tensor Output1 factex:tensor_output

rdf:typeTensor

Utf 8 String1 factex:utf-8_string

rdf:typeString