Commit Graph

92 Commits

Author SHA1 Message Date
Heiko Joerg Schick 169db54df2 Added query string as configurable (Docker) environment variable 2023-09-07 16:02:09 +02:00
Heiko Joerg Schick 6a4b1176c6 Modivied volume pathes 2023-09-06 11:37:53 +02:00
Heiko Joerg Schick f58cbcc98c Opening arxiv link in a new frame rather the same window 2023-09-06 11:36:25 +02:00
Heiko Joerg Schick 9d3ad6a896 Increased query number back to 2000. 2023-09-01 01:51:53 +02:00
Heiko Joerg Schick d1c485240c Open PDF links in new tab 2023-08-31 14:24:26 +02:00
schihei 781e9099cb Merge branch 'feature/pagination' into 'wip/h3132'
Feature/pagination

See merge request schihei/arxiv-sanity-lite!3
2023-08-31 12:00:56 +00:00
Heiko Joerg Schick b17e98b3f4 Improved pagination 2023-08-31 13:59:44 +02:00
schihei dd37f6689a Merge branch 'feature/PDF-link' into 'wip/h3132'
Feature/pdf link

See merge request schihei/arxiv-sanity-lite!2
2023-08-31 11:51:21 +00:00
Heiko Joerg Schick e324bb91b1 Prevent thumbnail from increasing width (useful on mobile) 2023-08-31 13:48:41 +02:00
Heiko Joerg Schick 8dc5f4ef0c Added paper link to thumbnail 2023-08-31 13:34:53 +02:00
schihei 2e85c9075c Merge branch 'feature/Docker' into 'wip/h3132'
Feature/docker

See merge request schihei/arxiv-sanity-lite!1
2023-08-30 17:29:57 +00:00
Heiko Joerg Schick 6eb4cfc56b Enlarged query string for arxiv. 2023-08-30 19:08:10 +02:00
Heiko Joerg Schick f181ae609a Removed unused files 2023-08-30 14:17:11 +02:00
Heiko Joerg Schick 381b4ba7ff Minor changes in Docker container 2023-08-30 14:16:25 +02:00
Heiko Joerg Schick bee3df79f4 Minor changes in Docker container 2023-08-30 14:15:14 +02:00
Heiko Joerg Schick 1aff234cf6 Added initial Docker files 2023-08-30 04:09:41 +02:00
Heiko Joerg Schick aeb7ecf96a Change DB access flag to create/write to DB 2023-08-29 23:23:44 +02:00
Andrej Karpathy d7a303b410 add thumbnails for papers, which apparently ppl like 2022-02-13 18:30:14 -08:00
Andrej Karpathy f980c7947a link to arxiv-sanity-lite instead of directly to arxiv 2022-01-22 16:36:11 -08:00
Andrej Karpathy 48a7e01aa2 we will only send emails to serious users 2022-01-22 16:33:13 -08:00
Andrej Karpathy 23b0e109bf fix bug in script due to schema change of pids variable earlier 2021-12-19 11:50:50 -08:00
Andrej Karpathy 759f7e73e6 fix bug in pagination, clean up the approach a bit more 2021-12-18 23:25:45 -08:00
Andrej Karpathy c3cb157c9f first version of pagination w00t w00t! it's a bit hacky i think, should be possible to improve this code and make it smaller and cleaner and etc. 2021-12-18 21:14:44 -08:00
Andrej Karpathy 4210a73d15 remove recommendation by default on / endpoint. this was causing some unintended confusion, e.g. the search function was using time_filter 7 and giving bad results from the main page. also getting recommendations takes time and is slowish, so only do it on actual demand 2021-12-18 20:21:04 -08:00
Andrej Karpathy 0f21e69125 Merge branch 'ajdintrejic-master' 2021-12-18 15:06:36 -08:00
Andrej Karpathy 68e4e0f3bd Merge branch 'master' of https://github.com/ajdintrejic/arxiv-sanity-lite into ajdintrejic-master 2021-12-18 15:01:40 -08:00
Andrej Karpathy 6e85778b24 change the way we recommend papers. we'll do it per tag instead of just mixing everything together. i believe this should produce higher quality results 2021-12-18 14:53:57 -08:00
Ajdin Trejic 7a438d9c46 Made site a bit more mobile friendly 2021-12-18 23:30:40 +01:00
Andrej Karpathy 65d4bb8415 some sleep is good for you 2021-12-10 20:28:34 -08:00
Andrej Karpathy cd2a88f375 when a user is logged in and hits the default endpoint '/' show recommendations over the last week instead of just totally random recent papers, by default 2021-12-10 09:15:29 -08:00
Andrej Karpathy 33b2b018ab kind of big changes here: we can now inspect & see the most positive and negative words for a trained svm, to help tune the value C. then there is also the UI for setting value C in the SVM. Finally the value of C I adjusted to default to 0.01 (was 0.1 before) because the results and the weights look more sensible based on manual inspection. We need some dataset of people libraries in order to potentially cross-validate a good value C automatically. For now there are not enough active users of the site that such a thing could be attempted and succeed. Doing my best now just by eyeballing 2021-12-08 00:17:37 -08:00
Andrej Karpathy 6be574a0fe hah don't crash if a user submits an invalid query, better to return empty results. in the future we may want a helpful error message too 2021-12-07 22:56:09 -08:00
Andrej Karpathy 4ec9a75293 add a secret GET argument svm_c that changes the C value in the SVM. no UI for this yet :) 2021-12-07 22:52:13 -08:00
Andrej Karpathy 6308e0cfa4 list out the tags i think 2021-12-07 22:33:50 -08:00
Andrej Karpathy 28163bfcb7 adding the user account into the email, ty @Randl for the suggestion. I think this should be ok to include in plain text here because it is an email direct to the user 2021-12-07 22:27:14 -08:00
Andrej Karpathy 1153a70563 print the total number of emails sent 2021-12-04 00:39:55 -08:00
Andrej Karpathy 6df5f1d178 add requirements.txt ty @Prakyathkantharaju and @e-tornike for help 2021-12-02 16:08:05 -08:00
Andrej Karpathy 31e02f267c handle the edge case of zero positives... sigh 2021-11-30 23:34:47 -08:00
Andrej Karpathy fe96775e6e fix issues and improve logic of removing tags 2021-11-30 22:57:59 -08:00
Andrej Karpathy 9c00c8dacd disallow the special tag null, which can result if user escapes the prompt 2021-11-30 22:51:16 -08:00
Andrej Karpathy a01c637cc8 tweak email sending 2021-11-29 20:45:24 -08:00
Andrej Karpathy d5b91270a9 allow to use fewer documents for training tfidf features to prevent OOMs 2021-11-29 15:38:36 -08:00
Andrej Karpathy e182dda381 make send_emails into a proper script and add a few more widgets 2021-11-29 09:29:59 -08:00
Andrej Karpathy 6d7f648384 visually distinguish the special 'all' tag 2021-11-28 08:23:51 -08:00
Andrej Karpathy 8947dd3fc5 tweak search scoring for better results, i think 2021-11-27 18:09:17 -08:00
Andrej Karpathy aff7c89695 use the older arxiv-sanity colorscheme for header 2021-11-27 17:15:40 -08:00
Andrej Karpathy a83dbb2138 it doesn't align, the ocd is killing me 2021-11-27 14:53:14 -08:00
Andrej Karpathy 5990a938a4 add few more stats 2021-11-27 14:47:28 -08:00
Andrej Karpathy 1769b7b02f minor profile page html/css cleanup 2021-11-27 14:31:18 -08:00
Andrej Karpathy d236a5dff9 small tweaks to not do useless work in special cases 2021-11-27 13:06:00 -08:00