René's URL Explorer Experiment


Title: Three questions · Issue #55 · DeepGraphLearning/KnowledgeGraphEmbedding · GitHub

Open Graph Title: Three questions · Issue #55 · DeepGraphLearning/KnowledgeGraphEmbedding

X Title: Three questions · Issue #55 · DeepGraphLearning/KnowledgeGraphEmbedding

Description: Thank you for your work and I have three questions: Why do you use this method to calculate the initialization range? I didn't see the relevant introduction in your paper. What's the purpose of this method? self.embedding_range = nn.Para...

Open Graph Description: Thank you for your work and I have three questions: Why do you use this method to calculate the initialization range? I didn't see the relevant introduction in your paper. What's the purpose of thi...

X Description: Thank you for your work and I have three questions: Why do you use this method to calculate the initialization range? I didn't see the relevant introduction in your paper. What's the purpos...

Opengraph URL: https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/55

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Three questions","articleBody":"Thank you for your work and I have three questions:\r\n1. Why do you use this method to calculate the initialization range? I didn't see the relevant introduction in your paper. What's the purpose of this method?\r\n\r\nself.embedding_range = nn.Parameter(\r\n    torch.Tensor([(self.gamma.item() + self.epsilon) / hidden_dim]),  \r\n    requires_grad=False\r\n)\r\n\r\nself.entity_embedding = nn.Parameter(torch.zeros(nentity, self.entity_dim))\r\nnn.init.uniform_(\r\n    tensor=self.entity_embedding, \r\n    a=-self.embedding_range.item(), \r\n    b=self.embedding_range.item()\r\n)\r\n\r\n2. This range is also used when pluralizing relationships. Why can this be done?\r\n\r\nphase_relation = relation/(self.embedding_range.item()/pi) \r\nre_relation = torch.cos(phase_relation) \r\nim_relation = torch.sin(phase_relation) \r\n\r\n3. In the rotate model, the calculations of head batch  and tail batch are different in sign, but in the paper i can't find the head-batch part, i can't understand this part\r\n\r\nif mode == 'head-batch':\r\n    re_score = re_relation * re_tail **+** im_relation * im_tail\r\n    im_score = re_relation * im_tail **-** im_relation * re_tail\r\n    re_score = re_score - re_head\r\n    im_score = im_score - im_head\r\nelse:\r\n    re_score = re_head * re_relation **-** im_head * im_relation\r\n    im_score = re_head * im_relation **+** im_head * re_relation\r\n    re_score = re_score - re_tail\r\n    im_score = im_score - im_tail\r\n ","author":{"url":"https://github.com/zulihit","@type":"Person","name":"zulihit"},"datePublished":"2022-05-26T07:38:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/55/KnowledgeGraphEmbedding/issues/55"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8ab6b683-cbba-f378-4ecb-40d015d8a37c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA052:2EF69C:3D554E:54EFDD:697B4488
html-safe-nonceacd8748d24096f162fdb1f94925695eb1825fdea9fa18b5dc5f6294a2a9475f5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDUyOjJFRjY5QzozRDU1NEU6NTRFRkREOjY5N0I0NDg4IiwidmlzaXRvcl9pZCI6Ijg4NzgzNjU3NTUzNDc1MTg2MDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb92a39c87c32865bef1ff4a44ef3de82aed9e82d8aeb894095cdaf25ca5ad4c6
hovercard-subject-tagissue:1249214992
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DeepGraphLearning/KnowledgeGraphEmbedding/55/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e77cec9c6a324a959eb3ede3b388ea68499dc95fd154f086527e6e01d9b89940/DeepGraphLearning/KnowledgeGraphEmbedding/issues/55
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e77cec9c6a324a959eb3ede3b388ea68499dc95fd154f086527e6e01d9b89940/DeepGraphLearning/KnowledgeGraphEmbedding/issues/55
og:image:altThank you for your work and I have three questions: Why do you use this method to calculate the initialization range? I didn't see the relevant introduction in your paper. What's the purpose of thi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezulihit
hostnamegithub.com
expected-hostnamegithub.com
None6fe64d94889230be19a900846cfc91707e7dd4206878d6c208922b46a6b0735d
turbo-cache-controlno-preview
go-importgithub.com/DeepGraphLearning/KnowledgeGraphEmbedding git https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding.git
octolytics-dimension-user_id38018154
octolytics-dimension-user_loginDeepGraphLearning
octolytics-dimension-repository_id167231866
octolytics-dimension-repository_nwoDeepGraphLearning/KnowledgeGraphEmbedding
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id167231866
octolytics-dimension-repository_network_root_nwoDeepGraphLearning/KnowledgeGraphEmbedding
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
release15736a47b83581130a149aa1b928696bea06adde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/55#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FDeepGraphLearning%2FKnowledgeGraphEmbedding%2Fissues%2F55
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%2FDeepGraphLearning%2FKnowledgeGraphEmbedding%2Fissues%2F55
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=DeepGraphLearning%2FKnowledgeGraphEmbedding
Reloadhttps://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/55
Reloadhttps://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/55
Reloadhttps://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/55
DeepGraphLearning https://patch-diff.githubusercontent.com/DeepGraphLearning
KnowledgeGraphEmbeddinghttps://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FDeepGraphLearning%2FKnowledgeGraphEmbedding
Fork 269 https://patch-diff.githubusercontent.com/login?return_to=%2FDeepGraphLearning%2FKnowledgeGraphEmbedding
Star 1.4k https://patch-diff.githubusercontent.com/login?return_to=%2FDeepGraphLearning%2FKnowledgeGraphEmbedding
Code https://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding
Issues 6 https://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues
Pull requests 1 https://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/pulls
Actions https://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/actions
Projects 0 https://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/projects
Security 0 https://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/security
Insights https://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/pulse
Code https://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding
Issues https://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues
Pull requests https://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/pulls
Actions https://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/actions
Projects https://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/projects
Security https://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/security
Insights https://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/55
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/55
Three questionshttps://patch-diff.githubusercontent.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/55#top
https://github.com/zulihit
https://github.com/zulihit
zulihithttps://github.com/zulihit
on May 26, 2022https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/55#issue-1249214992
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.