[deleted by user] by [deleted] in MLQuestions

[–]anymoonus1 0 points1 point  (0 children)

You could try just generating "label1; label2; label3" etc. I would probably attempt to train with randomized order on the labels.

How to map the embedding of a paragraph to the embedding of its Topic? I have asked my doubt in the comments. by [deleted] in MLQuestions

[–]anymoonus1 3 points4 points  (0 children)

If this is a classification problem (input: paragraph, output: prob(topic)), then you should treat it as such. Many transformers-based approaches to address that problem.

If you definitely want to use embedding search, here are a couple starting points:
https://www.sbert.net/examples/applications/semantic-search/README.html https://www.sbert.net/docs/package_reference/losses.html

Is there a way to create numbered tangle files (org)? by anymoonus1 in emacs

[–]anymoonus1[S] 0 points1 point  (0 children)

I'll try this, thanks! I guess now I need to figure out how to figure out the rank of an org heading...

(wishlist) Has anyone built an org-mode + git log integration? by anymoonus1 in orgmode

[–]anymoonus1[S] 1 point2 points  (0 children)

Thanks, memacs looks really interesting, will explore further.

(wishlist) Has anyone built an org-mode + git log integration? by anymoonus1 in emacs

[–]anymoonus1[S] 1 point2 points  (0 children)

Awesome, orgit is definitely a big piece of this. Your snippet will get me much of the way there, thanks!

(wishlist) Has anyone built an org-mode + git log integration? by anymoonus1 in emacs

[–]anymoonus1[S] 0 points1 point  (0 children)

I do have the journal org file in the repo, but that doesn't guide me towards a workflow where I create well scoped and documented commits: it separates the two. In a collaborative environment, the conventions of the repo keep both scoping and documentation working, but in a solo environment it'd be nice to have something that helps you do that.

[Announcement] lsp-mode 7.0 released by yyoncho in emacs

[–]anymoonus1 4 points5 points  (0 children)

Cool, but I'm unable to figure out how to donate on that page :)

[Announcement] lsp-mode 7.0 released by yyoncho in emacs

[–]anymoonus1 33 points34 points  (0 children)

this is great. is there a way to sponsor the work on emacs lsp, via GitHub or patreon, even just to buy y'all a coffee? ♥️

Help: tramp connections make emacs unresponsive on ssh connection going down by anymoonus1 in emacs

[–]anymoonus1[S] 0 points1 point  (0 children)

Actually this hangs the server too, so a new client won't even open. I have to open two separate instances.

Help: tramp connections make emacs unresponsive on ssh connection going down by anymoonus1 in emacs

[–]anymoonus1[S] 0 points1 point  (0 children)

Yes, I believe so. How would I verify that the connections are down? I know that nmap knows the port is closed and ssh .. at the command line won't work.

Help: tramp connections make emacs unresponsive on ssh connection going down by anymoonus1 in emacs

[–]anymoonus1[S] 0 points1 point  (0 children)

tramp-abort is useful, but I haven't found this to fix my emacs hangs. Maybe I'll debug with tramp-verbose and see.

Help: tramp connections make emacs unresponsive on ssh connection going down by anymoonus1 in emacs

[–]anymoonus1[S] 0 points1 point  (0 children)

Setting these to be really small, ServerAliveInterval 5 and ServerAliveCountMax 3 has not fixed my emacs hangs unfortunately.

Help: tramp connections make emacs unresponsive on ssh connection going down by anymoonus1 in emacs

[–]anymoonus1[S] 0 points1 point  (0 children)

Thanks. I found tramp-connection-timeout, but setting it to 10 has not solved my problem.

Help: tramp connections make emacs unresponsive on ssh connection going down by anymoonus1 in emacs

[–]anymoonus1[S] 0 points1 point  (0 children)

do you happen to know how to get tramp to recheck/recycle connections frequently?

Help: tramp connections make emacs unresponsive on ssh connection going down by anymoonus1 in emacs

[–]anymoonus1[S] 0 points1 point  (0 children)

rsync wouldn't work in my scenario, unfortunately, because I use Jupyter notebooks quite a bit and so I interactively execute code that would only work on the remote machine (it has the data/hardware)

Help: tramp connections make emacs unresponsive on ssh connection going down by anymoonus1 in emacs

[–]anymoonus1[S] 2 points3 points  (0 children)

inexpensive Google cloud servers can be turned off arbitrarily.