René's URL Explorer Experiment


Title: Added a remotemodelwrapper class by l3ra · Pull Request #809 · QData/TextAttack · GitHub

Open Graph Title: Added a remotemodelwrapper class by l3ra · Pull Request #809 · QData/TextAttack

X Title: Added a remotemodelwrapper class by l3ra · Pull Request #809 · QData/TextAttack

Description: What does this PR do? Adds a remote model wrapper class based on the TextFooler example. Summary This PR adapts the Textfooler example https://textattack.readthedocs.io/en/master/_modules/textattac...

Open Graph Description: What does this PR do? Adds a remote model wrapper class based on the TextFooler example. Summary This PR adapts the Textfooler example https://textattack.readthedocs.io/en/master/_modules/textattac...

X Description: What does this PR do? Adds a remote model wrapper class based on the TextFooler example. Summary This PR adapts the Textfooler example https://textattack.readthedocs.io/en/master/_modules/textattac...

Opengraph URL: https://github.com/QData/TextAttack/pull/809

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:814bc6be-4611-d82f-450c-4c71214ade49
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBA32:15193B:B1F140:F53027:698F39C0
html-safe-nonce3dbc8107565b6b78d889ee1cec847e4f0119de5be068cadee2c6dc968b26d98e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTMyOjE1MTkzQjpCMUYxNDA6RjUzMDI3OjY5OEYzOUMwIiwidmlzaXRvcl9pZCI6IjU4NTgwMDk0NTI3NDE4Njc5NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc854fe20571ebfa3863f1667886f9e2f60a6c1c1da250a31a3c90c1571018f92
hovercard-subject-tagpull_request:2265666231
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/QData/TextAttack/809/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0071d983bd59fc1dbf2fd27266c62f7ea6b62e3bd0adef619813a856fbf8c377/QData/TextAttack/pull/809
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0071d983bd59fc1dbf2fd27266c62f7ea6b62e3bd0adef619813a856fbf8c377/QData/TextAttack/pull/809
og:image:altWhat does this PR do? Adds a remote model wrapper class based on the TextFooler example. Summary This PR adapts the Textfooler example https://textattack.readthedocs.io/en/master/_modules/textattac...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamel3ra
hostnamegithub.com
expected-hostnamegithub.com
None6102991c714c1a6a27d05fb4f96ea6ca87a6750b4f093b95cc57ed1b84b145a1
turbo-cache-controlno-preview
go-importgithub.com/QData/TextAttack git https://github.com/QData/TextAttack.git
octolytics-dimension-user_id20266371
octolytics-dimension-user_loginQData
octolytics-dimension-repository_id215173055
octolytics-dimension-repository_nwoQData/TextAttack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id215173055
octolytics-dimension-repository_network_root_nwoQData/TextAttack
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released6ba6f2bfbf6399a7c07495a912727369e95bfe8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FQData%2FTextAttack%2Fpull%2F809
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FQData%2FTextAttack%2Fpull%2F809
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=QData%2FTextAttack
Reloadhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
Reloadhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
Reloadhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
QData https://patch-diff.githubusercontent.com/QData
TextAttackhttps://patch-diff.githubusercontent.com/QData/TextAttack
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FQData%2FTextAttack
Fork 435 https://patch-diff.githubusercontent.com/login?return_to=%2FQData%2FTextAttack
Star 3.4k https://patch-diff.githubusercontent.com/login?return_to=%2FQData%2FTextAttack
Code https://patch-diff.githubusercontent.com/QData/TextAttack
Issues 63 https://patch-diff.githubusercontent.com/QData/TextAttack/issues
Pull requests 8 https://patch-diff.githubusercontent.com/QData/TextAttack/pulls
Discussions https://patch-diff.githubusercontent.com/QData/TextAttack/discussions
Actions https://patch-diff.githubusercontent.com/QData/TextAttack/actions
Projects 0 https://patch-diff.githubusercontent.com/QData/TextAttack/projects
Security 0 https://patch-diff.githubusercontent.com/QData/TextAttack/security
Insights https://patch-diff.githubusercontent.com/QData/TextAttack/pulse
Code https://patch-diff.githubusercontent.com/QData/TextAttack
Issues https://patch-diff.githubusercontent.com/QData/TextAttack/issues
Pull requests https://patch-diff.githubusercontent.com/QData/TextAttack/pulls
Discussions https://patch-diff.githubusercontent.com/QData/TextAttack/discussions
Actions https://patch-diff.githubusercontent.com/QData/TextAttack/actions
Projects https://patch-diff.githubusercontent.com/QData/TextAttack/projects
Security https://patch-diff.githubusercontent.com/QData/TextAttack/security
Insights https://patch-diff.githubusercontent.com/QData/TextAttack/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2FQData%2FTextAttack%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2FQData%2FTextAttack%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#issue-comment-box
l3rahttps://patch-diff.githubusercontent.com/l3ra
QData:masterhttps://patch-diff.githubusercontent.com/QData/TextAttack/tree/master
l3ra:masterhttps://patch-diff.githubusercontent.com/l3ra/TextAttack/tree/master
Added a remotemodelwrapper class https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#top
l3rahttps://patch-diff.githubusercontent.com/l3ra
QData:masterhttps://patch-diff.githubusercontent.com/QData/TextAttack/tree/master
l3ra:masterhttps://patch-diff.githubusercontent.com/l3ra/TextAttack/tree/master
Conversation 12 https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
Commits 3 https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/commits
Checks 0 https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/checks
Files changed https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/files
Please reload this pagehttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/QData/TextAttack/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/l3ra
l3rahttps://patch-diff.githubusercontent.com/l3ra
Jan 8, 2025https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#issue-2774809496
https://textattack.readthedocs.io/en/master/_modules/textattack/attack_recipes/textfooler_jin_2019.htmlhttps://textattack.readthedocs.io/en/master/_modules/textattack/attack_recipes/textfooler_jin_2019.html
https://x.com/predicthttps://x.com/predict
Please reload this pagehttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
https://patch-diff.githubusercontent.com/l3ra
Added a remotemodelwrapper classhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/commits/89a04d54fcd3b667ef0ea5474709ffb86845f081
89a04d5https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/commits/89a04d54fcd3b667ef0ea5474709ffb86845f081
https://patch-diff.githubusercontent.com/l3ra
l3rahttps://patch-diff.githubusercontent.com/l3ra
Jan 15, 2025https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#issuecomment-2593057032
@bterrific2008https://github.com/bterrific2008
Please reload this pagehttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
https://patch-diff.githubusercontent.com/bterrific2008
bterrific2008https://patch-diff.githubusercontent.com/bterrific2008
Jan 16, 2025 https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#pullrequestreview-2554644404
View reviewed changes https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/files/89a04d54fcd3b667ef0ea5474709ffb86845f081
bterrific2008https://patch-diff.githubusercontent.com/bterrific2008
https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#pullrequestreview-2554644404
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
contributing guidelineshttps://github.com/QData/TextAttack/blob/master/CONTRIBUTING.md#start-contributing-pull-requests
Please reload this pagehttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
textattack/models/wrappers/remote_model_wrapper.pyhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/files/89a04d54fcd3b667ef0ea5474709ffb86845f081#diff-3534f768d936e6d5889fe22d2cb558bc47b307829cf7ab79f49a9fb67cf30aff
bterrific2008https://patch-diff.githubusercontent.com/bterrific2008
Jan 16, 2025https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#discussion_r1917617351
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
contribution guidelineshttps://github.com/QData/TextAttack/blob/master/CONTRIBUTING.md
Please reload this pagehttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
textattack/models/wrappers/remote_model_wrapper.pyhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/files/89a04d54fcd3b667ef0ea5474709ffb86845f081#diff-3534f768d936e6d5889fe22d2cb558bc47b307829cf7ab79f49a9fb67cf30aff
bterrific2008https://patch-diff.githubusercontent.com/bterrific2008
Jan 16, 2025https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#discussion_r1917620561
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
textattack/models/wrappers/remote_model_wrapper.pyhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/files/89a04d54fcd3b667ef0ea5474709ffb86845f081#diff-3534f768d936e6d5889fe22d2cb558bc47b307829cf7ab79f49a9fb67cf30aff
bterrific2008https://patch-diff.githubusercontent.com/bterrific2008
Jan 16, 2025https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#discussion_r1917621646
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
ModelWrapper abstract classhttps://github.com/QData/TextAttack/blob/5fbb0762dffb841af8a360dcf42e962489d3a83b/textattack/models/wrappers/model_wrapper.py#L10
Please reload this pagehttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
textattack/models/wrappers/remote_model_wrapper.pyhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/files/89a04d54fcd3b667ef0ea5474709ffb86845f081#diff-3534f768d936e6d5889fe22d2cb558bc47b307829cf7ab79f49a9fb67cf30aff
Please reload this pagehttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
textattack/models/wrappers/remote_model_wrapper.pyhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/files/89a04d54fcd3b667ef0ea5474709ffb86845f081#diff-3534f768d936e6d5889fe22d2cb558bc47b307829cf7ab79f49a9fb67cf30aff
bterrific2008https://patch-diff.githubusercontent.com/bterrific2008
Jan 16, 2025https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#discussion_r1917626627
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
requires a specific kind of payloadhttps://platform.openai.com/docs/guides/text-generation
Please reload this pagehttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
textattack/models/wrappers/remote_model_wrapper.pyhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/files/89a04d54fcd3b667ef0ea5474709ffb86845f081#diff-3534f768d936e6d5889fe22d2cb558bc47b307829cf7ab79f49a9fb67cf30aff
bterrific2008https://patch-diff.githubusercontent.com/bterrific2008
Jan 16, 2025https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#discussion_r1917629152
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
textattack/models/wrappers/remote_model_wrapper.pyhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/files/89a04d54fcd3b667ef0ea5474709ffb86845f081#diff-3534f768d936e6d5889fe22d2cb558bc47b307829cf7ab79f49a9fb67cf30aff
bterrific2008https://patch-diff.githubusercontent.com/bterrific2008
Jan 16, 2025https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#discussion_r1917630352
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
textattack/models/wrappers/remote_model_wrapper.pyhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/files/89a04d54fcd3b667ef0ea5474709ffb86845f081#diff-3534f768d936e6d5889fe22d2cb558bc47b307829cf7ab79f49a9fb67cf30aff
bterrific2008https://patch-diff.githubusercontent.com/bterrific2008
Jan 16, 2025https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#discussion_r1917630502
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
textattack/models/wrappers/remote_model_wrapper.pyhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/files/89a04d54fcd3b667ef0ea5474709ffb86845f081#diff-3534f768d936e6d5889fe22d2cb558bc47b307829cf7ab79f49a9fb67cf30aff
Please reload this pagehttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
l3rahttps://patch-diff.githubusercontent.com/l3ra
January 20, 2025 09:46https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#commits-pushed-52fe078
https://patch-diff.githubusercontent.com/l3ra
https://patch-diff.githubusercontent.com/bterrific2008
Update textattack/models/wrappers/remote_model_wrapper.pyhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/commits/52fe0784d95ead321fc25c9d19632cfafb81d397
52fe078https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/commits/52fe0784d95ead321fc25c9d19632cfafb81d397
https://patch-diff.githubusercontent.com/l3ra
https://patch-diff.githubusercontent.com/bterrific2008
Update textattack/models/wrappers/remote_model_wrapper.pyhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/commits/7ccfdade87952c12d7505e880186c9f8e8ab3097
7ccfdadhttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/commits/7ccfdade87952c12d7505e880186c9f8e8ab3097
https://patch-diff.githubusercontent.com/l3ra
l3rahttps://patch-diff.githubusercontent.com/l3ra
Jan 20, 2025https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809#issuecomment-2601921983
contributing guidelineshttps://github.com/QData/TextAttack/blob/master/CONTRIBUTING.md#start-contributing-pull-requests
https://arxiv.org/abs/2404.05311#:~:text=We%20study%20the%20unique%2C%20less,samples%20are%20available%20on%20GitHubhttps://arxiv.org/abs/2404.05311#:~:text=We%20study%20the%20unique%2C%20less,samples%20are%20available%20on%20GitHub
Please reload this pagehttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FQData%2FTextAttack%2Fpull%2F809
https://patch-diff.githubusercontent.com/bterrific2008
bterrific2008 https://patch-diff.githubusercontent.com/bterrific2008
https://patch-diff.githubusercontent.com/QData/TextAttack/pull/809/files/89a04d54fcd3b667ef0ea5474709ffb86845f081
Please reload this pagehttps://patch-diff.githubusercontent.com/QData/TextAttack/pull/809
https://patch-diff.githubusercontent.com/l3ra
https://patch-diff.githubusercontent.com/bterrific2008
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.