22

There are two tags:

The ambiguity comes from the fact that PyTorch is imported in Python as import torch, and because is tagged as instead of .

As of now, almost all of the questions in are actually questions. So PyTorch questions are actually being divided into two streams instead of going to a unified pool.

Off the top of my head, I believe something could be done like taking the tag over as a synonym, and older questions on Lua & Torch7 be specifically tagged under a more specific tag, .


Statistics:

If my mental arithmetic serves me, that leaves quite a lot of questions tagged with (~500) without auxilliary tags to identify things further.

8
  • 8
    Even if [torch] was renamed to [torch7] I'm not sure that would stop people; users don't (can't) read. Disambiguation is the solution here, but is there a "better" name for Torch7's tag?
    – Thom A
    Dec 2, 2022 at 16:02
  • I don't think this is the first meta question about this. Dec 2, 2022 at 16:23
  • 1
    [torch-lua] might work
    – Zoe is on strike Mod
    Dec 2, 2022 at 16:28
  • 1
    @PeterMortensen I searched for pytorch and torch and glanced through all the questions, decided to open this as I couldn't find anything. torch-lua seems specific and verbose enough that it might just work.
    – Mercury
    Dec 2, 2022 at 16:49
  • 8
    @ZoestandswithUkraine I'm more of a fan of putting the language first, rather than last, so lua-torch and python-torch. IMO, having the language first makes it a bit less likely that people just stop reading after the "torch" in "torch-lua".
    – Makyen Mod
    Dec 2, 2022 at 18:11
  • @Makyen Yeah, I was considering commenting that as an alternative. Randomly remembered that the general convention is the language first. I don't mind either way though, we'll pick the option most consistent with other tags
    – Zoe is on strike Mod
    Dec 2, 2022 at 18:21
  • 7
    I vote for lua-torch (as Ubuntu calls it lua-torch-torch7) and pytorch (official, common usage). Dec 3, 2022 at 0:10
  • Tag Tags in a Title with [...]... => [pytorch] + [torch]...
    – chivracq
    Dec 4, 2022 at 6:08

1 Answer 1

16

This seems like a very reasonable retagging request, but the volume of questions to be processed makes it fiddly to be done by manual processing. I'm writing this to give people something to vote up or down on.

  • The new tag should be created with an appropriate wiki entry. It should probably note that the project seems to be in suspended animation, at best.

  • The questions currently tagged with both and should be automatically retagged to replace with .

  • The questions currently tagged with and either or or both should be automatically retagged so that they end up with just two tags: and .

  • The remaining questions, of which there should be about 500 471, will need to be processed manually via a burnination process — individually assessed and either retagged with and or retagged with and (or perhaps some questions will need a completely different treatment, such as removing any Torch-related tag altogether).

  • Finally, as suggested by Matthieu M in a comment, the tag could be blacklisted to ensure it is not revived. However, the tag itself should vanish automatically once it has been removed from all questions, and it requires some reputation to create a tag, so it isn't clear how crucial this step is.

I'm not sure whether moderators or staff have tools to do an automatic retagging as I've suggested (but if they don't, now would be a good time to write such tools).

4
  • 1
    Looks like 471 currently: stackoverflow.com/questions/tagged/torch+-python+-lua+-pytorch
    – o11c
    Dec 5, 2022 at 2:22
  • Thanks, @o11c. That's in pretty good agreement with my round-figures estimate. Dec 5, 2022 at 5:50
  • 2
    I would suggest adding one step: torch itself should be black-listed, so it isn't spuriously revived. Dec 5, 2022 at 14:13
  • 1
    I've been thinking about how do these fairly straightforward disambiguations. There might be a way for moderators to perform most of the splitting of the tag into different tags. It's not straightforward, in fact it's a bit convoluted, but it's probably something which we can script substantial portions of. In addition, brief testing indicates that it can probably be done, at least mostly/largely, without causing the question to be "active", so not bringing it to the top of each tag's "active" list. I still need to perform more detailed experimentation, and at least some scripting.
    – Makyen Mod
    Dec 5, 2022 at 15:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .