Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some question about code #3

Open
xiaobai65 opened this issue May 9, 2022 · 1 comment
Open

some question about code #3

xiaobai65 opened this issue May 9, 2022 · 1 comment

Comments

@xiaobai65
Copy link

Thanks for your excellent work, but i can not understand some parts of your code, like ./model/cffm_transformer.py
the focal_window and focal_level is mean what?

@GuoleiSun
Copy link
Owner

Thanks for your interest. Basically, "focal_window" controls the receptive field when generating contexts using the target feature. In our paper, we have two parameters for this: receptive field r_t^{'} and pooling kernel p_t^{'}. And r_t^{'} = p_t^{'}*focal_window. For "focal_level", it is a dummy variable and always set to 2, as default. Please let me know if you have further questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants